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...

How java is platform independent?

Answer Posted / sandeep chauhan

the program is written in any language is called the source
program.and after compilation source code we get the object
code.so in java the source program is in ".java" file.when
this is compiled the object code will be in the ".class"
file.and this object code is bytecode.and this is is not
executable directly by any machine or o.s. so there will be
java virtual machine(jvm) which is an interpreter and
interpret the compiled object code into machine
understandable language.and which is executable for
machine.but every machine have its own jvm.and so this
bytecode can be executed in any machine according to there
jvm.so java is plateform independent language.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value of an object reference declared as an instance variable?

1117


How do you write a scanner class in java?

1011


How do you break a loop?

977


Explain about exception propagation?

1021


What is the difference between sleep and wait in java?

957


Is 0 a prime number?

986


Differentiate between nested and inner class in java.

993


Is there a sort function in java?

960


What is the program compilation process?

1102


What are the two types of streams offered by java 8?

923


What are the ways to instantiate the class class?

1099


In java, how we can disallow serialization of variables?

989


How do you stop a thread in java?

1049


How many types of variables are there?

1119


What is the difference between hashset and treeset in java?

1055