Why can't a virtual function override an abstract function?

This question already has an answer here:

  • Overriding an abstract method with a virtual one 2 answers

  • 一个覆盖它的基本方法的方法是隐式虚拟的(除非用sealed关键字指定),你不需要指定它。


    From MSDN

  • An abstract method is implicitly a virtual method.
  • Abstract method declarations are only permitted in abstract classes.
  • The implementation is provided by an overriding method.
  • Abstract method also can be overridden in an abstract class.
  • 链接地址: http://www.djcxy.com/p/38126.html

    上一篇: 在一个类的所有方法中使用Virtual关键字的后果?

    下一篇: 为什么虚拟函数不能覆盖抽象函数?