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 function overloading..?
What is oops with example?
explain sub-type and sub class? atleast u have differ it into 4 points?
How is polymorphism achieved?
what is the difference between containership and inheritence?
What is variable example?
Who invented oop?
What are the three parts of a simple empty class?
There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?
what is new modifier in C#
What does and I oop mean?
Why many objects can working together? How objects working togetherM I want to see example code.