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
What is use of super keyword in java?
How can you say java is object oriented?
write a program that list all permutations of ABCDEF in which A appears before B?
What do you understand by synchronization?
What is the difference between static and non-static variables in java programming?
What’s meant by anonymous class?
What is the instance of an object?
What is the differences between c++ and java? Explain
What do you mean by aggregation?
What is the base class of all exception classes?
What was java originally called?
What is unsigned char?
What are the special characters?
What is the purpose of extern variable?
What do you mean by platform independence? What is an interface?