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
I don’t want my class to be inherited by any other class. What should I do?
How do you use wildcards?
Why java does not support pointers?
Why do we use return statement?
What are the java ide’s?
What do bitwise operators do?
Explain about arraylist?
Can extern variables be initialized?
What is the purpose of using break in each case of switch statement?
What is java volatile?
What are daemon Threads in java?
Where pragma is used?
Difference between error and exception
What are the differences between c++ and java?
How is final different from finally and finalize?