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

What is the error in the code below and how should it be corrected?

767


What gives the current position of the put pointer?

1002


How is data hiding achieved in c++?

1084


What is pointer to member?

1100


What are advantages of c++?

1028


What is protected inheritance?

1050


What is setfill c++?

1160


What is the most useful programming language?

1051


How do you initialize a string in c++?

1004


what does the following statement mean? int (*a)[4]

1080


What do you mean by translation unit in c++?

1368


What is Destructor in C++?

1197


Explain function overloading

1022


When is the destructor called?

1038


Can we change the basic meaning of an operator in c++?

1114