Why Java is a platform independent language?
Answer Posted / prapanch
platform independent means,the java compiled program can be
run on any operating system.because when you compile a
program you will get a class file which contains byte code
which is specific to java. that byte code can understand by
jvms (java virtual machines).for different operating
systems different jvms will be there.so the jvm will
convert the byte code into machine understandable code.so
as the jvm is different for different operating systems no
need to worry much,that will take care of explaining to the
os.ok.
| Is This Answer Correct ? | 126 Yes | 15 No |
Post New Answer View All Answers
What does || || mean in math?
why doesn't java run on all platforms?
How can we make sure main() is the last thread to finish in java program?
What are the approaches that you will follow for making a program very efficient?
What defines function?
What are the advantages of assembly language?
Which java ide is used the most?
If a variable is declared as private, where may the variable be accessed?
Difference between a process and a program?
Can I learn java without any programming experience?
What is scope & storage allocation of global and extern variables? Explain with an example
Why do we use return statement?
Why are the destructors for base class and derived class called in reverse order when the program exits
What do you mean by object?
Does java set allow duplicates?