adplus-dvertising
frame-decoration

Question

Which among the following is correct for destructors concept?

a.

Destructors can be overloaded

b.

Destructors can have only one parameter at maximum

c.

Destructors are always called after object goes out of scope

d.

There can be only one destructor in a class

Answer: (d).There can be only one destructor in a class

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 correct for destructors concept?