Vidyalelo
C++ Programming · Q54

Exception Handling in C++

Programming · C++ Programming · question 54

Q54

Where should we place catch block of the derived class in a try-catch block?

A.
Before the catch block of Base class
Answer
B.
After the catch block of Base class
C.
Anywhere in the sequence of catch blocks
D.
After all the catch blocks

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board