diff between Virtual mathod and abstract method?
Answer / 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 |
What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?
What is multidimensional array?
Why is abstraction used?
What are the benefits of polymorphism?
Why is object oriented programming so hard?
what is difference b/w object based and object oriented programming language?
18 Answers Chaitanya, College School Exams Tests, Educomp, IBM, Infosys, Telko,
What is Dynamic Polymorphism?
What are the benefits of interface?
What does and I oop and sksksk mean?
what is a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,
what is the advantage in software? what is the difference between the software developer and Engineer
oops concept is used for?