MCQs
Total Questions : 15
| Page 2 of 2 pages
Answer: Option C. -> Throwable
All the exception types are subclasses of the built in class Throwable.
Answer: Option A. -> Error
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.
Answer: Option A. -> Default handler
Default handler
Answer: Option B. -> Exception
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.
Answer: Option C. -> throw
throw