1.

Which of the following classes can catch all exceptions which cannot be caught?(a) RuntimeException(b) Error(c) Exception(d) ParentException

Answer» Correct choice is (b) Error

To elaborate: Runtime errors cannot be caught generally. Error class is used to catch such errors/exceptions.


Discussion

No Comment Found

Related InterviewSolutions