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 |
Why do we use virtual functions?
Give two or more real cenario of virtual function and vertual object
why function overloading is not called as pure polymorphism?
what is the difference between containership and inheritence?
What's the full form of STL?
What is the purpose of enum?
Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??
what is function over loading?
What is property in oops?
How to overload postfix operator in c++
What is difference between function overloading and overriding?
Write 7 differences between "Public" function and "Private" function?