adplus-dvertising
frame-decoration

Question

Which among the following is true for class exceptions?

a.

Only base class can give rise to exceptions

b.

Only derived class can give rise to exceptions

c.

Either base class or derived class may produce exceptions

d.

Both base class and derived class may produce exceptions

Answer: (d).Both base class and derived class may produce exceptions

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following is true for class exceptions?