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
What is constructor overloading in oop?
Why is oop better than procedural?
What is encapsulation process?
What is class in oop with example?
Why do we use polymorphism in oops?
What is encapsulation in oops?
What are constructors in oop?
What is use of overloading?
What does <> mean pseudocode?
Why do we use polymorphism?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
• What are the desirable attributes for memory managment?
Give two or more real cenario of virtual function and vertual object
Is html an oop?
Why do we use inheritance?