+ 3
Why java is called platform independent language?
6 Respuestas
+ 8
https://www.sololearn.com/learn/Java/2131/ You can also refer this😉
+ 9
Because you can run Java codes on any platform, given that JRE (which contains the JVM) is installed.
+ 1
see the second paragraph in this. ..😀
https://www.sololearn.com/learn/Java/2131/
+ 1
Before Java, there were many programming languages like- C, Pascal, Fortran, Cobol etc. All these languages were used for a wide variety of projects. We could build all kinds of software with these languages.
There are such a large banking softwares written in Cobol. Fortan was the number one language for scientific calculations. Pascal was one of the most popular languages to learn programming.
The limitation of these languages was that the programs written in a language had to be compiled and built into binary for a specific processing system.
With the advent of the Internet, then number of devices and processing systems increased. At this point, compiling and building a program for so many processing systems was a tedious task. Especially, it was not possible for an individual developer to release a small program for so many platforms.
Read More:- http://crbtech.in/Java-Training/java-independent-platform/
0
And it uses .jar files and runs on PC (requires application installation), android, web (framework) and mac. Concluding that it can be used on any OS, hence it's a platform independent language
- 1
When we compile JavaFile.java, it will produced JavaFile.class which is platform-independent language called bytecode. Bytecode is similar to machine language but it is not designed to run on any real, physical computer. Instead, bytecode is designed to be run by a program, called Java Virtual Machine (JVM), which simulates a real machine. So, any system that has a JVM can run JavaFile.class (bytecode) even though it is compiled on different system/platform.