Why Java is Platform Independent? - Save My Knowledge
Saturday, January 19, 2019

Why Java is Platform Independent?

Hi, sometimes we see text "Java is platform independent". What does it mean "independent"? Does it mean it didn't need to depend on specific OS (Operating System) when deployed? Guess what? You are right! Platform independent mean there is no need to worry about what OS the application will be installed. It will run!

Why is that?
Why Java can be so powerful so every OS can compatible with it?
The answer is because of java byte code which it can run on any system irrespective of its underlying operating system.

So, if you are now developing Java, you didn't need to worry if you need to re-code for IOS or Linux or Windows. Congratulations! It will run on them.
"Write once, run everywhere"

I hope this explanation help 😉