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
Which of the following classes will have more memory allocated?
Say any two properties in beans?
Why can't you declare a class as protected?
How to split arraylist elements in java?
How many bits is a string?
what is predefined function in java?
What is contractor means and methods?
What is an anonymous class in java?
Explain some best practices you would apply while using collection in java?
What Is Composition?
What is super constructor?
What is static keyword?
How do you write methodology?
How do you find the maximum number from an array without comparing and sorting?
Is arraylist zero based?