C++ | Destructors | Question 1
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++.
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++.
Please Login to comment...