How many catch blocks can a class have?
(a) Only 1
(b) 2
(c) 3
(d) As many as required
I have been asked this question during an interview.
Enquiry is from Catching Class Types in chapter Exception Handling & Static Class Members of Object Oriented Programming