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
Is there a sort function in c++?
What is lazy initialization in c++?
Is it possible to have a recursive inline function in c++?
What is a far pointer? where we use it?
What is private, public and protected inheritance?
Why c++ is not a pure oop language?
Why do we use double in c++?
Can comments be nested?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
Write about a nested class and mention its use?
Carry out conversion of one object of user-defined type to another?
Differentiate between an array and a list?
Define pre-condition and post-condition to a member function in c++?
What is the difference between an enumeration and a set of pre-processor # defines?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?