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
Enlist diffrent types of inheritance supported by java?
What do you mean by flow of struts?
What is comparator in java?
How to remove the trailing spaces from a string?
How many characters is 16 bytes?
What is byte value?
What is pangram in java?
Can we overload run() method in java?
I want to persist data of objects for later use. What’s the best approach to do so?
What is the role of garbage collector in java?
What will be the initial value of an object reference which is defined as an instance variable?
What is composition in java?
Write a factorial program using recursion in java?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
What is java dot?