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
Is lambda expression an object?
What is aop in java?
What is java web application?
What is tier in java?
What is jndi datasource in java?
What is the difference between jar and executable jar?
How can c# app request minimum permissions? : java security
explain how java se 8 data and time api solves issues of old java date api?
What is an actionevent in java?
For each of the following program segments,give a big zero
analysis for the running time
1.For (i=0;i How do you type the lambda symbol? How do I install jdk? Why doesn’t the main method throw an error with no arguments? What is jpa entitymanager? What are java’s rules regarding tabs, spaces and newline characters?