Discussion :: JAVA MCQs
- Which of these class is related to all the exceptions that can be caught by using catch?
Answer : Option B
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.
Be The First To Comment