Which of the following statements is TRUE?
- A destructor must be declare for each class
- A class can have only one destructor
- A destructor can have default arguments
- Destructors are not useful when the class contains pointer data members
Answer:
Option b: A class can have only one destructor
Explanation Here
0 Comments