Which of the following are true about the Error and Exception classes?

A) Both classes extend Throwable.
B) The Error class is final and the Exception class is not.
C) The Exception class is final and the Error is not.
D) Both classes implement Throwable.

Showing Answers 1 - 5 of 5 Answers

prajakta

  • Feb 1st, 2006
 

Throwable is a class so it's extened by other not implemented so option d is wrong

Exception class is not final so option c> wrong

a> right

Nupur

  • Jun 21st, 2015
 

D) Both classes implement Throwable.

  Was this answer useful?  Yes

VAsu

  • Aug 8th, 2015
 

C) The Exception class is final and the Error is not.

  Was this answer useful?  Yes

Sowmyashree Megalamane Vasudevappa

  • Sep 11th, 2015
 

A)Both classes extend Throwable Class

  Was this answer useful?  Yes

Ramasamy

  • Nov 25th, 2021
 

The Error class is final and the exception class is not

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions