Why Java is a platform independent language?Explain byte code
and JVM
Answer Posted / hemalatha
When Java Code is compiled a byte code is generated which
is independent of the system. This byte code is fed to the
JVM (Java Virtual Machine) which is resided in the system.
Since every system has its own JVM, it doesn't matter where
you compile the source code. The byte code generated by the
compiler can be interpreted by any JVM of any machine.
Hence it is called Platform independent Language.
| Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
What is a driver in java?
What is meant by code profiling?
What do you understand by a variable?
How do I run a java program from the command line?
What is java aop?
What is injection in java?
What is lambda used for?
What is a delimiter in java?
What is a jpa repository?
What is jsr in java?
Explain suspend() method under thread class>
Which type of stream is in java?
How can I swap two variables without using a third variable?
What if the main method is declared as private?
What is orm in java?