-
Which of these class is related to all the exceptions that can be caught by using catch?
-
- Exception
- RuntimeExecption
- Error
- All of above
- 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.