+ 3

Why java is called platform independent language?

17th Mar 2018, 4:17 AM
Prasenjit Dey
Prasenjit Dey - avatar
6 Answers
+ 8
https://www.sololearn.com/learn/Java/2131/ You can also refer thisšŸ˜‰
17th Mar 2018, 4:40 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 9
Because you can run Java codes on any platform, given that JRE (which contains the JVM) is installed.
17th Mar 2018, 4:38 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
see the second paragraph in this. ..šŸ˜€ https://www.sololearn.com/learn/Java/2131/
17th Mar 2018, 10:41 AM
Ujjwal Kumar
Ujjwal Kumar - avatar
+ 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/
19th Mar 2018, 6:48 AM
pranit patil
pranit patil - avatar
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
17th Mar 2018, 8:09 AM
Syed Riyaz Uddin
Syed Riyaz Uddin - avatar
- 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.
18th Mar 2018, 11:09 AM
Syahmi Fauzi
Syahmi Fauzi - avatar