adspace
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
Can we extract main method from another class?
What is the locale class?
what is reflection api? How are they implemented?
How does java handle integer overflows and underflows?
What is the first argument of the string array in main method?
What is the resourcebundle class?
What do you understand by casting in java language? What are the types of casting?
What is the java api?
What if I write static public void instead of public static void?
Are jvm’s platform independent?