Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we declare destructor as static? Explain?

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


Please Help Members By Posting Answers For Below Questions

Is there a sort function in c++?

995


What is lazy initialization in c++?

1106


Is it possible to have a recursive inline function in c++?

1027


What is a far pointer? where we use it?

1072


What is private, public and protected inheritance?

1084


Why c++ is not a pure oop language?

1039


Why do we use double in c++?

1060


Can comments be nested?

1025


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

1057


Write about a nested class and mention its use?

1097


Carry out conversion of one object of user-defined type to another?

1046


Differentiate between an array and a list?

1176


Define pre-condition and post-condition to a member function in c++?

1149


What is the difference between an enumeration and a set of pre-processor # defines?

1384


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

1116