Answer Posted / jaroosh
To sum up : you CANT declare destructor as static, as you
CANT declare constructor as static, both are responsible for
destroying and creating OBJECTS while static storage means
that methods/members do not belong to any objects but to the
whole class.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is a vector c++?
What do you mean by storage classes?
What is difference between class and function?
Can a program run without main in c++?
How do we implement inheritance in c++?
What is a class definition?
When we use Abstract Class and when we use Interface?where we will implement in real time?
What is ofstream c++?
What are register variables?
How do you show the declaration of a virtual constructor?
Explain the difference between abstract class and interface in c++?
Can user-defined object be declared as static data member of another class?
Are there interfaces in c++?
Differentiate between a template class and class template in c++?
What is type of 'this' pointer?