adplus-dvertising
frame-decoration

Question

If both base and derived class caught exceptions ______________

a.

Then catch block of derived class must be defined before base class

b.

Then catch block of base class must be defined before the derived class

c.

Then catch block of base and derived classes doesn’t matter

d.

Then catch block of base and derived classes are not mandatory to be defined

Answer: (a).Then catch block of derived class must be defined before base class

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If both base and derived class caught exceptions ______________