Answer Posted / pawan kumar
Virtual methods have an implementation and provide the derived classes with the option of overriding it. Abstract methods do not provide an implementation and force the derived classes to override the method. So, abstract methods have no actual code in them, and subclasses HAVE TO override the method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to improve object oriented design skills?
What is polymorphism and why is it important?
Can destructor be overloaded?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What are constructors in oop?
What is a function in oop?
What are the 3 pillars of oop?
What is the difference between a constructor and a destructor?
Why do we use oops?
Why do we need polymorphism in c#?
Why do we need oop?
What is object and class in oops?
Can we create object of abstract class?
What is difference between data abstraction and encapsulation?
What are oops methods?