Sunday, December 20, 2015

Why we called Java as Platform Independent?

Because of it's JVM implementation. Actually, to be specific Java has a two-step process Compile then Run Compiler makes the byte code and JVM inter-prate this to machine specific language Here is the trick ...Might you have seen when you download JDK there is OS specific version  one is for Unix one is for windows version why so ,because  JVM implementation JVM takes byte code as input and provide m/c language as output so Linux specific JVM makes Linux specific machine code ,windows do the same but as both take byte code as input you can easily export windows compile class  Linux m/c That's why they called Java as a platform independent .