Question:

Which component is used to compile, debug and execute the Java program?

Show Hint

Use JDK for developing Java programs; JRE/JVM are only for running them.
Updated On: Sep 7, 2025
  • JRE
  • JIT
  • JDK
  • JVM
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Role of JDK.
The Java Development Kit (JDK) is a complete software development kit required for compiling, debugging, and running Java programs.

Step 2: Difference from JRE and JVM.
- JRE (Java Runtime Environment) is only for running programs, not compiling.
- JVM (Java Virtual Machine) executes the bytecode, but cannot compile.
- JIT (Just-In-Time compiler) is a part of JVM to speed execution. Thus, the correct development tool is JDK.

Final Answer: \[ \boxed{\text{JDK}} \]

Was this answer helpful?
0
0