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 meant by structural programming?
What exceptions occur during serialization?
Is java jre still free?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What are internal variables?
Explain the meaning of java applet.
Explain reverse a linked list recursive java solution?
Why java doesn’t support multiple inheritances?
What is the association?
Why put method is used?
If a variable is declared as private, where may the variable be accessed?
What is replacefirst in java?
Does java list allow null?
Write a program to search a number in the given list of numbers.
What are the kinds of polymorphism?