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 data binding?
What is abstraction in oops with example?
why overriding?
Who invented oop?
What is object and class in oops?
What do you mean by overloading?
What is an example of genetic polymorphism?
tell about copy constructor
What is the main difference between C++ and Java
What are oops methods?
what is code for call by value and call by reference?
What are the benefits of interface?