Do we have private destructors?

Answer Posted / thuang

In replay to Vishwa,

for empty class, compiler will supply a default constructor
and a destructor for us, their access modifiers were public.

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c++ is not a pure oop language?

737


Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D

3393


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

1342


What is helper in c++?

842


what are the characteristics of Class Members in C++?

820


Explain terminate() function?

803


Tell me difference between constant pointer and pointer to a constant.

858


What is a linked list in c++?

790


How can I learn dev c++ programming?

780


What is else syntax in c++?

861


Which operator cannot overload?

808


What is prototype in c++ with example?

736


What is the size of integer variable?

807


What are the effects after calling the delete this operator ?

807


What does ios :: app do in c++?

777