Open In App

C++ | Destructors | Question 1

Last Updated : 24 Nov, 2021
Like Article
Like
Save
Share
Report

Can destructors be private in C++?
(A) Yes
(B) No


Answer: (A)

Explanation:

Destructors can be private. See Private Destructor for examples and uses of private destructors in C++.


Quiz of this Question


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads