Assume you have created a piece of Java source code and compiled it successfully. How does the Java platform execute the code?

  1. The compiler interprets the bytecode in the Java class file

  2. The Java Virtual Machine (JVM) interprets the bytecode in the Java class file

  3. The JVM interprets the native machine code

  4. The JVM translates compiled bytecode to machine code


Correct Option: B,D

Find more quizzes: