Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

C++ | Destructors | Question 1

  • Last Updated : 24 Nov, 2021

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!