Why Java is a platform independent language?Explain byte code
and JVM
Answer Posted / nilanjan
At first the java source code is compiled and then it is
interpreted to a optimized set of executable statements.
After compiling the source code the bytecode is generated
which is same for all platforms i.e OS. This byte code
needs JVM(java virtual machine) to be interprated which is
defferent for different OS i.e platform.
Due to the byte code which is same for all JVM java is
explicitely known as platform independent language.
source code ---------> bytecode ----------> executable
compilation same interpration
for all by JVM
JVM
Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
What is lsdou? : java security
What is stateless in java?
In java what is the difference between sleep() and wait() .
What is lambda expression in mvc?
What is property file in java?
What is javabeans api?
What are the benefits of a jar file?
What is dependency injection in java?
What is @override annotation in java?
What does el mean in java?
How do javabeans work?
Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.
Can optional be null?
What is the meaning of the words public, static and void?
What is jersey in java?