How java is platform independent?
Answer Posted / sandeep chauhan
the program is written in any language is called the source
program.and after compilation source code we get the object
code.so in java the source program is in ".java" file.when
this is compiled the object code will be in the ".class"
file.and this object code is bytecode.and this is is not
executable directly by any machine or o.s. so there will be
java virtual machine(jvm) which is an interpreter and
interpret the compiled object code into machine
understandable language.and which is executable for
machine.but every machine have its own jvm.and so this
bytecode can be executed in any machine according to there
jvm.so java is plateform independent language.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is string :: npos?
do I need to use synchronized on setvalue(int)? : Java thread
What is initial size of arraylist in java?
What is the use of arrays tostring () in java?
What is formatted output?
What is a java list?
What technique is carried out to find out if a particular string is empty?
Why is java not 100% pure oops?
What are the differences between c++ and java?
What is return type in java?
What does the exclamation mark mean in java?
What is constructor chaining in java?
what are Hostile Applets?
What is the super void?
What is double word?