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

When Java Code is compiled a byte code is generated which is
independent of the system. This byte code is fed to the JVM
(Java Virtual Machine) which resides in the system. Since
every system has its own JVM, it doesn't matter where you
compile the source code. The byte code generated by the
compiler can be interpreted by any JVM of any machine. Hence
it is called Platform independent Language.

Java's bytecodes are desgined to be read and interpreted in
exactly same manner on any computer hardware or operating
system that supports Java Runtime Environment.

The Java Virtual Machine can be called a virtual operating
system that enables a java programme to run... we are thus
calling java platform independent because a java program
will not give different outputs on different machines but
platform dependent programmes tend to give different results
when compiled on different machines...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the static import?

1057


In a container there are 5 components. I want to display the all the components names, how will you do that one?

1003


What is the unit of plancks constant?

997


What will happen if a thrown exception is not handled?

961


how would you implement a thread pool? : Java thread

854


What modifiers may be used with a top-level class?

1009


Is constructor inherited?

921


State the difference between strings and arrays.

1153


What exactly is a .class file?

993


How many bytes is a unicode character?

963


What is general methodology?

989


How does linkedlist work in java?

879


What are the differences between checked exception and unchecked exception?

933


What are java methods?

1048


What is continuity of a function?

1032