Tuesday, 17 March 2015

Why java is called Platform Independent OR compile once run anywhere programming language?

 

Q. Why java is called Platform Independent OR compile once run anywhere programming language?

 

Ans:  When a java program is compilled a .class file is generated.This .class file contains the byte code or the intermediate code which is understood by JRE installed on the operating sytems e.g Macintosh, windows or Linux etc. Hence java is called Platform Independent OR compile once run anywhere programming language.

1 comment:

  1. Thanks Manish! I am novice in java programming, though i have been through these points, its helping me to make a note of these bullets.

    ReplyDelete