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 |
Whats is abstraction in oops?
What is polymorphism and example?
What is an interface in oop?
What is destructor give example?
Plese get me a perfect C++ program for railway/airway reservation with all details.
what is a binary overloading
Why we use classes in oop?
Petrol pump mgt. system: To design a program that display an interface for the sale of the Petrol and then make the entries at the backend in the database.
what about you? wahat is your object? introduce your self?
1 Answers Ajmal Perfumes, TCS,
WAP find square root of any number (without using sqrt() )?
DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.
how do u initialize the constant variables