Answer Posted / liza
Java compiler compiles the .java file(source code) by
generating the .class file comprising the bytecodes.
Bytecodes are platform independent and can be executed in a
system where JVM is installed.
JVM interpretes bytecodes into machine code depending upon
the underlying OS and H/W combination.
JVM provides a machine interface that does not depend on the
underlying OS and machine H/W architecture, thus making JAVA
as platform independent.
This makes java program as write-once run-anywhere.Only we
need to install compatible JVM, bcoz JVM is platform dependent.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the benefit of inner classes in java?
What methodology can be employed to locate substrings inside a string?
What types of index data structures can you have in java?
What is the use of static class?
What is the function of static in java?
What are the basic interfaces of java collections framework?
What is identifier with example?
what is meant by Garbage collection?
Can set contain duplicates?
What is meant by object?
What do you mean by Hash Map and Hash Table?
what is the difference between a threads start() and run() methods? : Java thread
Write code of any action class?
What is jpa specification?
What is meant by string is immutable?