Which component of Java platform is responsible for converting bytecode into…

2024

Which component of Java platform is responsible for converting bytecode into machine-specific code?

  1. A.

    Java Runtime Environment (JRE)

  2. B.

    Java Development Kit (JDK)

  3. C.

    Java Compiler

  4. D.

    Java Virtual Machine (JVM)

  5. E.

    Question not attempted

Attempted by 142 students.

Show answer & explanation

Correct answer: D

The Java Virtual Machine (JVM) is responsible for converting Java bytecode into machine-specific code so that it can run on a particular operating system and hardware.

Working Process

  1. Java source code (.java) is compiled by the Java Compiler (javac) into bytecode (.class).

  2. The JVM interprets or converts this bytecode into machine code.

  3. The program then executes on the system.

This feature makes Java platform independent.

Explore the full course: Up Lt Grade Assistant Teacher 2025