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

When is the destructor called?

1082


How do you write a function that can reverse a linked-list?

1167


Which is most difficult programming language?

1172


Write about the members that a derived class can add?

1024


Explain the properties and principles of oop.

1068


If you don’t declare a return value, what type of return value is assumed?

1006


What do you mean by function pointer?

1165


How do you compile the source code with your compiler?

1103


Is it possible for a member function to use delete this?

1134


What do you understand by pure virtual function? Write about its use?

1044


Define the process of handling in case of destructor failure?

1115


What is recursion?

2377


Give 10 points of differences between C & C++.

1186


Comment on assignment operator in c++.

1167


What is the use of function pointer?

1073