Computer Applications
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.
Related Questions
…………… statement displays the result in Java programming.
- System.print()
- Print()
- System.printout()
- System.out.println()
Fill in the blanks:
In Java, the package used to find the smallest of two numbers is _________.
Applet programming is a feature of which language:
- C
- C++
- Java
- BASIC
"Java compiled code (byte code) can run on all operating systems"
— Name the feature.- Robust and Secure
- Object Oriented
- Platform Independent
- Multithreaded