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?

Answer Posted / ashwani maddeshiya

This is because of the magic of Byte Code which is OS indepedent. When java compiler compile any code then it generate the byte code not the machine native code(unlike C compiler).Now this byte code need a interpreter to execute on a machine.This interpreter is JVM.So JVM read that byte code(that is machine indepedent) amd execute it. Different JVM is designed for different OS and byte code is able to run on different OS.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do singleton patterns work?

969


How are multiple inheritances done in Java?

1142


Which is easier .net or java?

1081


How do you override a variable in java?

1146


Why string is immutable or final in java

1084


Is java code slower than native code?

1060


Can you sort a list in java?

982


What is difference between length and length() method in java ?

995


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

1013


What are the two ways of implementing multi-threading in java?

1507


what is the volatile modifier for? : Java thread

998


What is difference between string and stringbuffer?

1104


What is structure of java heap? What is perm gen space in heap?

1125


When should a function throw an exception?

1046


Why we used vector class?

1069