Java SE 8 Programmer I — Question 77
Which two statements are true? (Choose two.)
Answer options
- A. Error class is unextendable.
- B. Error class is extendable.
- C. Error is a RuntimeException.
- D. Error is an Exception.
- E. Error is a Throwable.
Correct answer: B, E
Explanation
The correct answers are B and E because the Error class is indeed extendable, allowing for custom error types, and it is a subclass of Throwable. Options A, C, and D are incorrect since the Error class can be extended, it is not a RuntimeException, and while Error is related to Exception, it is not classified as such.