Computer Applications
What makes Java Platform Independent?
Java Intro
2 Likes
Answer
Byte Code & JVM
Reason — Java's platform independence is due to Bytecode and JVM:
- Bytecode — Java programs are compiled into an intermediate code called Bytecode using the Java compiler. Bytecode is platform-independent and can run on any machine.
- Java Virtual Machine (JVM): — The JVM is platform-specific software that interprets or compiles Bytecode into native machine code for the underlying operating system. This allows the same Bytecode to run on any platform making Java platform independent.
Answered By
1 Like
Related Questions
The extension of a Java source code file is:
- exe
- obj
- jvm
- java
Applet programming is a feature of which language:
- C
- C++
- Java
- BASIC
…………… statement displays the result in Java programming.
- System.print()
- Print()
- System.printout()
- System.out.println()
"Java compiled code (byte code) can run on all operating systems"
— Name the feature.- Robust and Secure
- Object Oriented
- Platform Independent
- Multithreaded