Answer Posted / isha
Dear friend , you have done a mistake..
Example:
class Employee {
virtual ~Employee() {}
};
class Manager : public Employee {
~Manager() {}
}
Employee * m = new Manager();//here was the mistake
delete m; // <--
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the renewal class?
Is this job good for future? can do this job post grduate student?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is a class oop?
What does and I oop and sksksk mean?
What is a null tree?
What are the advantages of polymorphism?
What does and I oop mean in text?
What are the 5 oop principles?
What is the use of oops?
any one please tell me the purpose of operator overloading
What is object in oop?
what type of question are asked in thoughtworks pair programming round ?
Why do we use oops?
what's the basic's in dot net