Which of the following option leads to the portability and security of Java?
A. Bytecode is executed by JVM
B. The applet makes the Java code secure and portable
C. Use of exception handling
D. Dynamic binding between objects
Answer:A
Which of the following option leads to the portability and security of Java?
A. Bytecode is executed by JVM B. The applet makes the Java code secure and portable C. Use of exception handling D. Dynamic binding between objects
Explanation: The output of the Java compiler is bytecode, which leads to the security and portability of the Java code. It is a highly developed set of instructions that are designed to be executed by the Java runtime system known as Java Virtual Machine (JVM). The Java programs executed by the JVM that makes the code portable and secure. Because JVM prevents the code from generating its side effects. The Java code is portable, as the same byte code can run on any platform.