in JAVA by
Q:
Which of the following option leads to the portability and security of Java?

i) Bytecode is executed by JVM

ii) The applet makes the Java code secure and portable

iii) Use of exception handling

iv) Dynamic binding between objects

1 Answer

0 votes
by

Answer: (i) Bytecode is executed by the JVM.

Reason: 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.

Related questions

0 votes
asked Apr 8, 2021 in JAVA by SakshiSharma
0 votes
asked Apr 10, 2021 in JAVA by Robindeniel
...