Why Java is a platform independent language?

Answer Posted / nikhlesh gupta datia(m.p.)

The compiler converts source code file into bytecode files. These codes are machine independent and can be run on any machine. Java interpreter reads the bytecode files and translates them into machine code for the specific machine on which the Java program in running.

Is This Answer Correct ?    252 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is alive in java?

491


Which class cannot be a subclass in java?

530


What is not object oriented programming?

490


Can we create an object of private class?

535


What is externalizable?

603






What is finally block?

555


What happens if a constructor is declared private?

515


What is array size in java?

488


What do heavy weight components mean in java programming?

508


Explain different states of a thread in java?

568


What is immutable class in java?

498


What are methods in java?

524


How is treeset implemented in java?

476


What is the difference between iterator and enumeration ?

501


What is the use of flag?

567