Answer Posted / shakir khan
Java sovles the problem of platform independence by using
byte code.Java complier does not produce native executable
code.Instead it produces a special format called byte code.
Byte code is a highly optimized set of instructions
designed to executed by a java runtime system called Java
Virtual Machine(JVM).JVM is an interpreter for byte code.
This interpreter reads or understands the bytecode and
executes the corresponding native machine instructions.
Thus to port java programs to a new platform ,all that
needed is to port the interperter and some of the library
routines.Even the complier is written in java.The byte
codes are precisely defined and remain the same on all
platforms.
The use of byte code enables the java runtime system to
execute programs much faster.
| Is This Answer Correct ? | 36 Yes | 5 No |
Post New Answer View All Answers
Can we override static methods in java?
Write a program to find maximum and minimum number in array?
What are the core java topics?
What the difference is between execute, execute Query, execute Update?
What are different types of control structures?
How much ram can a 64 bit processor theoretically?
Why are the methods of the math class static?
What does math floor () do?
What is basic syntax?
Can string be considered as a keyword?
How do you check if a number is a perfect square?
How list contains works in java?
What is java object name?
What is locale?
How hashmap works in java?