Home » JAVA Programming » Exceptions » Question
  1. What is the use of try & catch?
    1. It allows to fix errors
    2. It prevents automatic terminating of the program in cases when an exception occurs
    3. It allows us to manually handle the exception
    4. All of Above
    5. None of these
Correct Option: D

*It allows to fix errors.
*It prevents automatic terminating of the program in cases when an exception occurs
*It allows us to manually handle the exception



Your comments will be displayed only after manual approval.