Difference between abstract and virtual method
- If abstract method is defined in a class, then the class should declare as abstract class.
- Abstract method should contain only method definition, should not contain the method body / implementation.
- Abstract method must be over ride in the derived class.
- Virtual methods can be over ride in the derived class but not mandatory.
- Virtual methods must have the method body / implementation along with definition.