Features of Java

Main Features of JAVA


Java is a platform independent language


Compiler(javac) converts source code (.java file) to the byte code(.class file). As mentioned above,
JVM executes the bytecode produced by compiler. This computer memory unit code will run on any
platform like Windows, Linux, Mac OS etc. Which means a program that's compiled on windows will
run on Linux and vice-versa. Each software system has totally different JVM, but the output they turn
out when execution of bytecode is same across all operating systems. That is why we tend to decision
java as platform freelance language.


Java is an Object Oriented language


Object minded programming may be a means of organizing programs as assortment of objects,
every of that represents associate degree instance of a category.


4 main concepts of Object Oriented programming are:


  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism


Simple
Java is taken into account mutually of easy language as a result of it doesn't have complicated options
like Operator overloading, Multiple inheritance, pointers and express memory allocation.


Robust Language
Robust means reliable. Java programming language is developed in a way that puts a lot of emphasis
on early checking for possible errors, that’s why java compiler is able to detect errors that don't seem
to be straightforward to discover in alternative programming languages. The main options of java that
produces it sturdy are pickup, Exception Handling and memory allocation.


Secure
We don’t have pointers and we cannot access out of bound arrays (you get
ArrayIndexOutOfBoundsException if you try to do so) in java. That’s why several security flaws like
stack corruption or buffer overflow is impossible to exploit in Java.

Java is distributed

Using java artificial language we are able to produce distributed applications.
RMI(Remote Method Invocation) and EJB(Enterprise Java Beans) are used for creating distributed
applications in java.
In straightforward words: The java programs are often distributed on over one systems that are
connected to every different victimization net affiliation. Objects on one JVM (java virtual machine) will
execute procedures on a distant JVM.


Multithreading
Java supports multithreading.   Multithreading could be a Java feature that enables multiprogramming
of two or additional components of a program for max exercise of processor.


Portable


As mentioned higher than, java code that's written on one machine will run on another machine.The
platform independent bytecode can be carried to any platform for execution that makes java code
portable.
Academy of IT & Executive Education provides best java training in Trivandrum.

Comments

Popular posts from this blog

KEYWORDS AND ITS IMPORTANCE

DIGITAL MARKETING ENTREPRENEURSHIP IDEAS