Skip to content
Related Articles
Open in App
Not now

Related Articles

C++ | Destructors | Question 1

Improve Article
Save Article
  • Last Updated : 24 Nov, 2021
Improve Article
Save Article

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
Related Articles

Start Your Coding Journey Now!