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
If a method is declared as protected, where may the method be accessed?
Why is string class considered immutable?
why an outer class cannot be declared as private?
What is the epoch date?
What is a bufferedreader?
What is collection class in java? List down its methods and interfaces.
Do we need to manually write Copy Constructor?
What are the features in java?
What is the use of http-tunneling in rmi?
Can a final variable be manipulated in java?
Explain listiterator and methods in listiterator?
What is lazy initialization in java?
What are the two basic ways in which classes that can be run as threads may be defined?
Can we override final method?
How many bytes is double?