Slide 2:
Java Features :- The most striking feature of Java is that it is platform neutral language.
It is first programming language i.e. not tied to any particular hardware or operating system.
It is compiled and interpreted.
It is truly object oriented.
It is robust and secure language.
It is distributed language.
It is dynamic and extensible.
Slide 3:
Java Bytecode & Java Virtual Machine (JVM):- All language compilers translate source code into machine code for a specific computer.
Java compiler also does the same thing, but it produces intermediate code, known as bytecode for a machine that does not exist.
This machine is called as ‘Java Virtual Machine’(JVM).
JVM is exist only inside the computer memory.
It is simulated computer within the computer and does all major functions of a real computer.
Slide 4:
Java Program Virtual Machine Java Compiler Bytecode Fig. 1 : Process of Compilation The output produce by the Java compiler is not executable code.
It is Bytecode, highly optimized set of instructions executed by java run time system or JVM.
JVM is the interpreter for the bytecode.
Slide 5:
The virtual machine code generated by the Java interpreter is not machine specific code, but it is acts as an intermediate between the virtual machine and real machine. Machine code Java Interpreter Bytecode Fig. 2 : Process of converting bytecode into machine code Virtual machine Real machine
Slide 6:
Thank you!