InterviewSolution
Saved Bookmarks
| 1. |
Which of these class is related to all the exceptions that can be caught by using catch?(a) Error(b) Exception(c) RuntimeExecption(d) All of the mentioned |
|
Answer» Right answer is (b) Exception For explanation: 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. |
|