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
How to create a custom exception?
Is void a keyword in java?
What is dynamic array in java?
What is a method signature java?
What access modifiers can be used for methods?
What is a functional interface?
How to create a base64 decoder in java8?
What are wrapped classes in java programming?
What is regex java?
How can you set the applet size?
Can we serialize static variables in java?
What is float in java?
What is the difference between a method and a procedure?
What is the meaning of course?
write a program that list all permutations of ABCDEF in which A appears before B?