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


why java is platform independent?

Answers were Sorted based on User's Feedback



why java is platform independent?..

Answer / vinay

Java is platform independent because after compiling
the .java file is converted to .class file. this .class
file is byte code which is platform independent...

Is This Answer Correct ?    14 Yes 1 No

why java is platform independent?..

Answer / liza

Java compiler compiles the .java file(source code) by
generating the .class file comprising the bytecodes.

Bytecodes are platform independent and can be executed in a
system where JVM is installed.

JVM interpretes bytecodes into machine code depending upon
the underlying OS and H/W combination.

JVM provides a machine interface that does not depend on the
underlying OS and machine H/W architecture, thus making JAVA
as platform independent.

This makes java program as write-once run-anywhere.Only we
need to install compatible JVM, bcoz JVM is platform dependent.

Is This Answer Correct ?    6 Yes 0 No

why java is platform independent?..

Answer / vandana mahali

Platform independent means the execution of the program is
not restricted by the type of os environment
provided...thereby, make it possible to process the program
at any type of environment available.

Java is a platform independent language becoz of the
bytecode magic of java. In java, when we execute the source
code...it generates the .class file comprising the
bytecodes. Bytecodes are easily interpreted by JVM which is
available with every type of OS we install.

Is This Answer Correct ?    3 Yes 0 No

why java is platform independent?..

Answer / gv praveen kumar

Java contains inbuilt JVM (Java virtual machine) which converts byte code into native understanding form of operating system.Java can run on every operating system by taking same amount of memory space.

Is This Answer Correct ?    1 Yes 0 No

why java is platform independent?..

Answer / subbu

The moto of java is WRITE ONCE AND AND RUN ANY WHERE.
ie., once we write the java application we can run in any
operating systems.So, it is called platform independent.

Is This Answer Correct ?    10 Yes 13 No

Post New Answer

More Core Java Interview Questions

Why deletion in linkedlist is fast than arraylist?

0 Answers  


What are synchronized methods ?

0 Answers  


What modifiers can be used with a local inner class?

2 Answers  


Explain the difference between an Interface and an Abstract class?

0 Answers   BirlaSoft,


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

0 Answers  


Which is faster string or stringbuilder?

0 Answers  


Can a main method be overloaded?

0 Answers  


Is arraylist ordered in java?

0 Answers  


what is real-time example of runtime polymorphism and compile time polymorphism

4 Answers   SLK Group,


what is inner class?

6 Answers   HCL,


What is the difference between heap and stack memory?

0 Answers  


While opening the file, what type of exceptions can be caught?

3 Answers  


Categories