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 a platform independent language?Explain byte code
and JVM

Answer Posted / nilanjan

At first the java source code is compiled and then it is
interpreted to a optimized set of executable statements.
After compiling the source code the bytecode is generated
which is same for all platforms i.e OS. This byte code
needs JVM(java virtual machine) to be interprated which is
defferent for different OS i.e platform.
Due to the byte code which is same for all JVM java is
explicitely known as platform independent language.

source code ---------> bytecode ----------> executable
compilation same interpration
for all by JVM
JVM

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between jar and executable jar?

1058


What are the advantages of java 8’s date and time api over old date api and joda time api?

1120


What is web xml java?

934


What is jar file in java?

1059


Where are group policies stored? : java security

889


What is spliterator in java se 8?

1169


What java systems libraries and methods are available for me to use?

906


What is native class in java?

999


When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?

996


Is jpa a framework?

918


What is the point of lambda expressions?

1063


How do I know if I have jre or jdk?

950


Do I need to install jre if I have jdk?

935


What is data encapsulation?

1036


What is crud operations in java?

955