Why Java Is Plateform Independent ?

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.
Advertise on APSense
This advertising space is available.
Post Your Ad Here
Post Your Ad Here
Comments