Home » JAVA Programming » Exceptions » Question
  1. Which of these class is related to all the exceptions that can be caught by using catch?
    1. Exception
    2. RuntimeExecption
    3. Error
    4. All of above
    5. None of these
Correct Option: A

Error class is related to java run time error that can’t be caught usually, RuntimeExecption is subclass of Exception class which contains all the exceptions that can be caught.



Your comments will be displayed only after manual approval.