Which of the following is used to find and fix bugs in the program?

Java MCQ: Which of the following is used to find and fix bugs in the program?

a) Debugger
b) Compiler
c) JVM
d) Interpreter

Answer:

a) Debugger

Explanation:

A debugger is a tool that is used to find and fix bugs in a program. It allows the developer to run the program step-by-step, inspect variables, and analyze the flow of execution to identify where the problem lies.

Reference links:

https://www.rameshfadatare.com/learn-java-programming/
https://www.javaguides.net/p/java-tutorial-learn-java-programming.html

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top