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 a vector c++?

1100


What do you mean by storage classes?

1500


What is difference between class and function?

1028


Can a program run without main in c++?

1126


How do we implement inheritance in c++?

1071


What is a class definition?

1009


When we use Abstract Class and when we use Interface?where we will implement in real time?

2134


What is ofstream c++?

1017


What are register variables?

1071


How do you show the declaration of a virtual constructor?

899


Explain the difference between abstract class and interface in c++?

924


Can user-defined object be declared as static data member of another class?

965


Are there interfaces in c++?

937


Differentiate between a template class and class template in c++?

1049


What is type of 'this' pointer?

1006