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
How is static data member similar to a global variable?
What is wrapper class in c++?
Can we overload operator in c++?
Should a constructor be public or private?
What are virtual constructors/destructors?
What is do..while loops structure?
What are pointer-to-members in C++? Give their syntax.
What are the rules for naming an identifier?
How the virtual functions maintain the call up?
When is dynamic checking necessary?
Is there a c++ certification?
Which sort does c++ use?
What is the role of C++ shorthand's?
What is string in c++ programming?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal