Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why java is platform independent?

Answer Posted / liza

Java compiler compiles the .java file(source code) by
generating the .class file comprising the bytecodes.

Bytecodes are platform independent and can be executed in a
system where JVM is installed.

JVM interpretes bytecodes into machine code depending upon
the underlying OS and H/W combination.

JVM provides a machine interface that does not depend on the
underlying OS and machine H/W architecture, thus making JAVA
as platform independent.

This makes java program as write-once run-anywhere.Only we
need to install compatible JVM, bcoz JVM is platform dependent.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rule of accessibility in java?

1021


What is the use of protected in java?

1018


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3654


Why java is a platform independent? Explain

1076


Why are the objects immutable in java?

980


What Is Composition?

1047


What's the purpose of static methods and static variables?

1093


What is the common usage of serialization? What exceptions occur during serialization?

1109


Is vector thread safe in java?

1044


What about main thread in java?

1111


List out benefits of object oriented programming language?

886


How many characters is 16 bytes?

991


Do I need to import java.lang package any time? Why?

1378


Is heap stored in ram?

956


Can you extend singleton class?

1092