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
If try block is successfully executed, Then Is Finally block executed?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
What is the basic concepts of OOPS?
When do I need to use reflection feature in java?
Is void a keyword in java?
Can you inherit from an abstract class java?
Can memory leak happen java?
What is intern method in java?
What is object in java?
Does treeset use compareto?
Is arraylist sorted in java?
What is default switch case? Give example.
What is the right data type to represent a price in java?
What are the different types of garbage collectors in java?
Explain listiterator and methods in listiterator?