How java is platform independent?

Answer Posted / meer

Java is platform indepent because when java compiler
compiles the java program, it does not directly convert the
code into host machine specific instruction as other
programming language compilers do, instead it creates a
bytecode which is a intermediate language code generated
for the virtual machine which can run on any platform.

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 time complexity algorithm?

548


What are keyboard events?

613


Can static methods be inherited?

537


Can singleton class be cloned?

565


Can we create a class inside a class in java?

550






What is fail first in java?

577


Why is serialization required?

548


What is the difference between static class and normal class?

494


What is the super void?

463


What is the use of keywords in java?

555


What are the difference between composition and inheritance in java?

517


What is the difference between sop and work instruction?

488


What are data structures in java?

535


How to restrict a member of a class from inheriting by its sub classes?

807


why not override thread to make a runnable? : Java thread

561