Which of the following classes can catch all exceptions which cannot be caught?
(a) RuntimeException
(b) Error
(c) Exception
(d) ParentException
(a) RuntimeException
(b) Error
(c) Exception
(d) ParentException
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Correct choice is (b) Error
To elaborate: Runtime errors cannot be caught generally. Error class is used to catch such errors/exceptions.