Asked by Anonymous
Which of the following classes best represents rare and serious internal system errors?
Error
Throwable
RuntimeException
Exception
I think it may be Error or Throwable.
Been having alot of trouble with this class lately, help would be appreciated.
~Thank you.
Error
Throwable
RuntimeException
Exception
I think it may be Error or Throwable.
Been having alot of trouble with this class lately, help would be appreciated.
~Thank you.
Answers
Answered by
Anonymous
1.C, 100, Error
2.C, throw new...
3.D, FileNotFoundException
4.C, NullPointerException
5.A, Error (Your Question)
6.C, The exception class and its subclasses are checked, except for the RuntimeException and its subclasses
7.D, NullPointerException will be thrown by method m2() and will crash the program
8.C, Method x1() must either catch IOException or declare that too...
9.D, the finally block will run whether or not there is an exception...
10.C, Handle any exceptions that occur...
2.C, throw new...
3.D, FileNotFoundException
4.C, NullPointerException
5.A, Error (Your Question)
6.C, The exception class and its subclasses are checked, except for the RuntimeException and its subclasses
7.D, NullPointerException will be thrown by method m2() and will crash the program
8.C, Method x1() must either catch IOException or declare that too...
9.D, the finally block will run whether or not there is an exception...
10.C, Handle any exceptions that occur...
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.