Why java is platform independent? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why java is platform independent?

not the book note

4th Sep 2016, 5:31 PM
Dinesh Kumar
Dinesh Kumar - avatar
3 Answers
+ 1
once compiled, the .class file can be used on any JVM. This is why java is platform independent.
4th Sep 2016, 5:38 PM
Sameer Kulkarni
Sameer Kulkarni - avatar
0
thats pretty straight forward its becoz for JVM
4th Sep 2016, 8:22 PM
Sonu Mishra
Sonu Mishra - avatar
0
In order to compile a code, the system configuration or the platform its running on doesn't matter
4th Sep 2016, 9:14 PM
Chandan Kumar V
Chandan Kumar V - avatar