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 is the ==?
What is bool mean?
Why object class is super class for every class in java?
How is java hashmap implemented?
Should you use singleton pattern?
How do you compare characters in java?
Why string is a class?
What is the transient keyword?
Is string an object?
What is double word?
What is sorting algorithm in java?
What is the maximum size of a string in java?
What is the purpose of the finalize() method?
What is the use of static class?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?