Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   Why is Java called the ‘Platform Independent Programming Language’? (http://siteownersforums.com/showthread.php?t=202654)

eventplanner779 09-21-2017 10:32 PM

Why is Java called the ‘Platform Independent Programming Language’?
 
Why is Java called the ‘Platform Independent Programming Language’?

BonkersAbtTech 10-30-2017 03:54 AM

Java is platform independent because you can write the same Java code and run it anywhere.

So you can write from a mobile device, a server, tv box etc and the code will remain the same. The only that changes is the Java Virtual Machine (JVM) that actually runs your code. It's the JVM itself that varies depending on the device that you're running on.

For example, when you're writing Java code for Android, your code will run on the Dalvik virtual machine.

Hope that helps!


All times are GMT -7. The time now is 03:10 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.