Question: Which of the following is true when we write custom exception classes? (a) Extend the class Exception (b) Create our own try and catch block
Which of the following is true when we write custom exception classes?
(a) Extend the class Exception
(b) Create our own try and catch block
(c) Use finally block
(d) Use throws keyword
Step by Step Solution
3.41 Rating (154 Votes )
There are 3 Steps involved in it
a Ext... View full answer
Get step-by-step solutions from verified subject matter experts
