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 we can say java is platform independent, while we
require JVM for that particular Operating System?

Answer Posted / nagarjuna reddy

Because of JVM java became platform independent.after
creating object file,the object file is given to JVM which
consists of 200 instructions called "byte code instructions".
JVM will convert the object file instructions into machine
code instructions that are understandable to particular
processor on which instructions have to be executed.so jvm
converting the instructions depending upon the Os &
processor,but java compiler will not creating an object file
depending upon the current processor.
so this object file will execute at any where irrespective
of the processor or operating system.
so we can say that JVM is platform dependent,why because it
has to create machinecode inst's of that(current) processor
or OS.
Java is platform independent, why because object file
created by java compiler will execute on any platform
because of JVM.

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the use of a semicolon (;) at the end of every program statement?

1184


Is there any possibility to create customized header file with c programming language?

1004


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2268


How will you delete a node in DLL?

1220


What is the difference between declaring a variable and defining a variable?

1185


What are structural members?

954


What is string function in c?

946


What is an identifier?

979


When is a null pointer used?

1062


What is c programing language?

1043


How can I determine whether a machines byte order is big-endian or little-endian?

1003


How to declare pointer variables?

1165


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

2318


What is page thrashing?

1026


Are c and c++ the same?

1004