skip to main
|
skip to sidebar
C++ exercises
Can destructor be private?
Yes. Private destructor is useful for creating final class by preventing users to inherit from this class.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
copy constructor
(4)
constructor
(2)
destructor
(2)
inheritance
(2)
structure
(2)
RTTI
(1)
abstraction
(1)
access control
(1)
assignment operator
(1)
inline
(1)
macro
(1)
new
(1)
overload
(1)
override
(1)
polymorphism
(1)
storage class
(1)
virtual function
(1)
Sister sites
algorithm exercises
Resources
c cheat sheet
Blog Archive
March
(1)
January
(31)
No comments:
Post a Comment