C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 27)
27.
Which of the following cannot be used with the keyword virtual?
class
member functions
constructor
destructor
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
20 comments Page 2 of 2.

Selvaraj said:   1 decade ago
Constructor is also a initialization part. Why we are not use virtual.

Sumit said:   1 decade ago
You are thinking well. But, we can create virtual destructor.

Abhinav said:   1 decade ago
Why not distructor ? it will free at one time.

Nitin said:   8 years ago
The virtual not work with destructor.

Jack said:   1 decade ago
Can you please explain more clearly?

Prakash kuthi said:   9 years ago
Hi, it was helpful thanks to all.

Rajendra said:   1 decade ago
Can we declare virtual class?

Mayank said:   1 decade ago
Why do we need virtual class?

Naej said:   1 decade ago
Why not destructor?

Babaji said:   1 decade ago
Thanks janu.


Post your comments here:

Your comments will be displayed after verification.