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?

Answers were Sorted based on User's Feedback



how we can say java is platform independent, while we require JVM for that particular Operating Sy..

Answer / 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

how we can say java is platform independent, while we require JVM for that particular Operating Sy..

Answer / gayatri

Because every os has its own jvm

Is This Answer Correct ?    5 Yes 1 No

how we can say java is platform independent, while we require JVM for that particular Operating Sy..

Answer / seema choudhary

Java is platform independent b'caz java compiler convert the source file into the Byte code or object code file then JVM(Java Virtual Machine) convert the file into the machine language.
object code file will execute on another machine or any platform by using the JVM.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Interview Questions

Is c call by value?

0 Answers  


Is it possible to use curly brackets ({}) to enclose single line code in c program?

0 Answers  


Can we replace the struct function in tree syntax with a union?

0 Answers   Huawei,


could u able to tell about suresoft technical session

1 Answers  


a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

0 Answers  


How do you override a defined macro?

0 Answers  


Explain is it valid to address one element beyond the end of an array?

0 Answers  


#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?

4 Answers   IIIT,


how can u print a message without using any library function in c

1 Answers   NIIT,


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

0 Answers   Aegis, CDAC, Infosys,


if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE

1 Answers  


How do I use strcmp?

0 Answers  


Categories