Question: What constructors are capable of being called on a custom exception class that directly extends the Exception class? A. One that takes a single Exception

What constructors are capable of being called on a custom exception class that directly extends the Exception class? 

A. One that takes a single Exception

B. One that takes a single String

C. Both of these

D. Neither of these.

Step by Step Solution

3.34 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The answer is C Both of these When you create a custom exception class that extends the Exception cl... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!