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
How do I enable java in google chrome?
What are the differences between java’s old java date api and java 8’s date and time api?
What is a container in java?
What is proxy object in java?
How can one prove that the array is not null but empty?
Are streams faster than for loops?
Where is java installed?
What is ui framework in java?
What do you understand by numeric promotion?
What is the difference between collection and stream?
Explain the reason for each keyword of public static void main(string args[])?
What is mime in java?
Can java program run without jdk?
How many types of jdk are there?
What is meant by annotation in java?