Can a destructor be called directly?



Can a destructor be called directly?..

Answer / Ravi Nayak

No, a destructor cannot be called directly. It is automatically called when an object is destroyed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is abstrac class?where is it use?

2 Answers  


Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}

1 Answers   Wipro,


What do we mean by a hidden argument in C++?

1 Answers  


What is the oops and benefits of oops programming?

1 Answers  


What is an orthogonal base class?

2 Answers  


what are the uses of C++

1 Answers  


Have you ever used threads?

3 Answers   Adobe, IBM,


What is the default size allocated for array in the statement if size not specified " int a[] "

4 Answers   CTS,


what are the realtime excercises in C++?

1 Answers   IBM, Wipro,


What is the types of inheritance?

1 Answers  


what type of question are asked in thoughtworks pair programming round ?

1 Answers   Thought Works,


what is polymorphism?

4 Answers  


Categories