Why Java Is Plateform Independent ?

Posted by Shimpy Infotech
2
Nov 17, 2017
425 Views
Image

Java is well known for its Platform independence.

While you write a Java code and feed it to the compiler a .class file will be generated. Now this .class file/Byte code common for all kind of system whether its Linux or Mac or Windows.  Now to run this .class file, we need JRE (which is actually implementation of JVM). SO Mac will have its own version of JRE, Widows will have different and Linux has different one too. But one thing to notice here is that --- the input for all these , means the .class file is same. This is actually Platform Independence.

ShimpyInfotech offer Java Training in Ghaziabad under supervision of experts.

5 people like it
avatar avatar avatar avatar avatar
Comments
avatar
Please sign in to add comment.