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 / rajesh pradhan

Whenever we compile the java source code it becomes
transform into an intermediate code(known as "Byte
Code"),unlike other languages,"ByteCode"(.Class file) is
platform independent code.Then u can run the Byte Code on
any Platform(OS)either it is Linux,Mac or Windows..But d
reality is that the ByteCode(.class file)is run by the Java
Interpreter which in turn invokes the JVM(Java Virtual
Machine) which is differ for the different OS. And the
output of JVM is machine dependent code..[AND THE MOST
SECRET:--JAVA IS NOT PLATFORM INDEPENDENT IF THERE IS NOT
THE DIFFERENT JVM FOR DIFFRENT OS...AND PLUS WE NEED NOT TO
INSTALL JVM MANUALLY ..IT IS INBUILT IN ALL OS..]

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of using rmisecuritymanager in rmi?

923


What does microservices mean?

905


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

1127


Can we extend singleton class in java?

918


What is constructor and virtual function? Can we call a virtual function in a constructor?

1091


What is private protected in java?

997


Difference between Preemptive scheduling vs. Time slicing?

984


What is the difference between static and global variables and also define what are volatile variables?

993


how does the run() method in runnable work? : Java thread

872


What does flag mean in java?

980


What super () does in java?

870


What is scope & storage allocation of static, local and register variables? Explain with an example.

969


Can we pass a primitive type by reference in java? How

864


How can we avoid including a header more than once?

987


How do you get the length of a string in java?

948