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 rule of accessibility in java?
What is the use of protected in java?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
Why java is a platform independent? Explain
Why are the objects immutable in java?
What Is Composition?
What's the purpose of static methods and static variables?
What is the common usage of serialization? What exceptions occur during serialization?
Is vector thread safe in java?
What about main thread in java?
List out benefits of object oriented programming language?
How many characters is 16 bytes?
Do I need to import java.lang package any time? Why?
Is heap stored in ram?
Can you extend singleton class?