What is the meaning of the reintroduce and override directives in Delphi?

后端 未结 4 1593
余生分开走
余生分开走 2020-12-28 13:42

What is the difference between the override and reintroduce directives? And when should I not use the

4条回答
  •  既然无缘
    2020-12-28 14:46

    The override directive is used to override virtual methods in inherited classes.

    The reintroduce directive is used to declare a method with the same name as in the super class, but with different parameters.

提交回复
热议问题