C++ Programming - Constructors and Destructors - Discussion
Discussion Forum : Constructors and Destructors - General Questions (Q.No. 3)
3.
Can a class have virtual destructor?
Discussion:
22 comments Page 2 of 3.
Krunal said:
1 decade ago
No.
Because compiler does not provide any default constructor when we provided explicitly.
Because compiler does not provide any default constructor when we provided explicitly.
Gopika said:
8 years ago
What is meant by the term warping functions associated with virtual destructors?
Arun said:
9 years ago
What happens when a virtual function is declared as static?
Ankit said:
7 years ago
Why is virtual constructor not possible? Please explain.
Annonymous said:
1 decade ago
@Abc.
Explicitly means we have to delete manually.
Explicitly means we have to delete manually.
KJS said:
1 decade ago
In C++ there is no automatic garbage collection.
Siva darling said:
6 years ago
What is virtual destructor? please explain.
ABC said:
1 decade ago
What is the meaning of explicitly call?
Padma said:
1 decade ago
How the destructor can be a virtual ?
Surya.T said:
1 decade ago
What is mean by virtual function?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers