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


Please Help Members By Posting Answers For Below Questions

If a method is declared as protected, where may the method be accessed?

749


Why is string class considered immutable?

818


why an outer class cannot be declared as private?

3915


What is the epoch date?

744


What is a bufferedreader?

744


What is collection class in java? List down its methods and interfaces.

730


Do we need to manually write Copy Constructor?

792


What are the features in java?

815


What is the use of http-tunneling in rmi?

806


Can a final variable be manipulated in java?

754


Explain listiterator and methods in listiterator?

762


What is lazy initialization in java?

755


What are the two basic ways in which classes that can be run as threads may be defined?

822


Can we override final method?

754


How many bytes is double?

744