Q:

Why a class has only one destructor in c++?

0

Why a class has only one destructor?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

A destructor doesn’t have parameters, so there can be only one.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now