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 meant by swing in java?

977


Name primitive java types.

916


What is a static method?

1018


How do you check if java is installed on windows command prompt?

919


What is Map,List,hashtable,ArrayList and difference between them??

2748


What is the difference between lambda expression and anonymous methods?

921


What is static class in java?

1060


What is an actionevent in java?

993


What is a controller in java?

1030


In java thread programming, which method is a must implementation for all threads?

1009


What is flatmap java?

984


What is jersey in java?

942


how can we create the ui using netbeans,having the code?

2085


How can I write a program that takes command line input?

881


What is the difference between deep copy and shallow copy in java

1002