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

Can you override private or static method in java?

757


What are extraneous variables examples?

744


What is nullpointerexception in java?

740


What is bubble sort in java?

846


What is the best definition for data?

714


What do u mean by variable?

789


What is treeset in java collection?

750


Is java code slower than native code?

766


What is the difference between access specifiers and access modifiers in java? 16

740


What is meant by overloading?

800


What is the difference between preparedstatement and statement in java?

815


What is the difference between post and put?

761


Explain methods specific to list interface?

740


Does string isempty check for null?

774


What is adapter in java?

711