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...


Do we have private destructors?

Answers were Sorted based on User's Feedback



Do we have private destructors?..

Answer / deepak

No we can not have private destructor

Is This Answer Correct ?    0 Yes 12 No

Do we have private destructors?..

Answer / jack

No we cannot have private destructors and private
constructors.........

Is This Answer Correct ?    4 Yes 23 No

Post New Answer

More C++ General Interview Questions

What is the best c++ compiler?

0 Answers  


class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable

1 Answers  


What is a c++ class?

0 Answers  


What are the differences between new and malloc?

0 Answers  


What do you mean by const correctness?

0 Answers  


Should I learn c or c++ or c#?

0 Answers  


Do you know the problem with overriding functions?

0 Answers  


When a function is made inline. Write the situation where inline functions may not work.

2 Answers  


What is friend class in c++ with example?

0 Answers  


What is a local reference?

0 Answers  


Is c++ double?

0 Answers  


What is an explicit constructor?

1 Answers  


Categories