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

How is static data member similar to a global variable?

1101


What is wrapper class in c++?

1098


Can we overload operator in c++?

1022


Should a constructor be public or private?

1015


What are virtual constructors/destructors?

988


What is do..while loops structure?

1131


What are pointer-to-members in C++? Give their syntax.

1125


What are the rules for naming an identifier?

1055


How the virtual functions maintain the call up?

1145


When is dynamic checking necessary?

1098


Is there a c++ certification?

1040


Which sort does c++ use?

1011


What is the role of C++ shorthand's?

1265


What is string in c++ programming?

1158


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

1157