The reintroduce directive
suppresses compiler warnings about hiding previously declared virtual methods.
For example,
procedure
DoSomething; reintroduce;
// the ancestor class also has a DoSomething method
Use reintroduce when you want to hide an inherited virtual method with a new one.
再引入指示字reintroduce用于防止编译器关于隐藏先前的虚拟方法给出警告。例如,
procedure
DoSomething; reintroduce;
//祖先类中已经有一个DoSomething方法
想要用新的方法隐藏继承得到的虚拟方法时,可以使用reintroduce。