Monday, July 9, 2007

What are abstract and virtual methods?

  • Abstract method does not provide an implementation and forces the derived class to override the method.
  • Virtual method has an implementation and provides the derived class with the option of overriding it.

No comments: