In the year 1991, Sun Microsystems Inc developed the Java language which was later taken over by Oracle Corporation. Patrick Naughton and James Gosling were the masters in developing this language. It is very easy to compile, write and debug in this language. Modular programs can be easily created in this language and are also reusable.
Join the best core Java training in Pune.
Java Virtual Machine (JVM)
This terminology is abbreviated as JVM and it contains various phases of program execution. They are:
- Writing the program
- Compiling the program
- Running the program
Java programmer writes the program
1) Javac compiler compiles the program, the primary java compiler is none other than javac which is present in the java development kit (JDK). Java program is taken as input and generates output as Java bytecode.
2) In the final stage, the compiler generated bytecode is executed by JVM. Run phase program is the name given to it.
The bytecode executed by the compiler is the primary function of JVM.
There are various JVM for each operating system, the execution of bytecode is generated as the output in all the operating systems. This is the reason behind the independent functionality of Java language.
In a class file compiler, the bytecode is normally saved.
Java Development Kit(JDK)
This terminology is frequently used in JVM and bytecode concepts. It stands for Java development Kit that has JRE (Java Runtime Environment), compilers and other tools like Java Debugger, JavaDoc etc.
For developing, compiling and running Java program you need JDK installed on your computer.
Java Runtime Environment(JRE)
JDK and JRE are part and parcel of each other. Installing JRE in your system will help you to run the Java program but then you cannot compile it. Applets support, browser plugins, JVM is present in the JRE. Only JRE is required to run a Java program on your computer.
There are lots of Java training in Pune to make you a professional in this field.
Main Features of JAVA
Java is a platform independent language
Source code (.java file) is converted into bytecode (.class file) by compiler(javac). The compiler generated bytecode is executed by JVM. There are various platforms like Linux, Windows, Mac OS that actually supports this bytecode. There is no limitation for running this Java programming language. All the JVM of each operating system is different the bytecode execution is always the same in all the systems.
Java is an Object Oriented language
A unique way of organizing programs like an object collection which actually represent an instance of a class is termed as Object Oriented Programming.
4 Important concepts of Object Oriented Programming are:
Advantages of Java language
There are lots of best Java classes in Nagpur to let you understand about the basics of Java.
You can also visit: Telecome training for begginer!