Why is it so that we can have virtual constructors but we
cannot have virtual destructors?
Answers were Sorted based on User's Feedback
Answer / sachinmundhra
vptr gets initialize in constructor. So in that case we
cannot have virtual constructor.
Is This Answer Correct ? | 5 Yes | 0 No |
what is the new version of oops
advantage and disadvantage in c++>>oops and what are the questions ask for interview in c++>>oops. could you tell me or reply me
What is encapsulation and abstraction? How are they implemented in C++?
0 Answers Agilent, ZS Associates,
c++ is a pure object oriented programming or not?
difference between static and non-static variables?
how do u initialize the constant variables
Advantage and disadvantage of routing in telecom sector
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
what is oppes
Why multiple inheritance is not possible?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Why is oop useful?