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 |
explain sub-type and sub class? atleast u have differ it into 4 points?
what is a class
namespace is working on which compiler?
How to create a comment page in C #??
What is object and class in oops?
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.
What is and I oop mean?
What is a scope resolution operator?
Write a macro for swapping integers
What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?
What is a class oop?
DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.