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
Which version of my browser should I use? : java security
What is stateless in java?
How do javabeans work?
What is transaction management in java?
What are orm tools in java?
What kind of thread is the garbage collector thread?
How do I enable java in google chrome?
Explain daemon thread.
What is hql in java?
What is the use of flatmap in java 8?
Can you compile java into exe?
What is a bean class?
Why is class forname used in java?
What is an api in java?
How can I write a program that takes command line input?