方法是抽象的,但它包含在非抽象类
抽象类可以包括抽象方法,这是普通类所不能的。抽象方法只能声明于抽象类中,且不包含任何实现,派生类必须覆盖它们
但我查看“System.Web.UI.Page”
public class Page : TemplateControl, IHttpHandler
{
protected virtual void OnInitComplete(EventArgs e);
protected virtual void OnLoadComplete(EventArgs e);
protected virtual void OnPreInit(EventArgs e);
protected virtual void OnPreLoad(EventArgs e);
}
它也没有定义为抽象类,但它里面有四个抽象方法
不懂,求解