Sign in Join
Wiki copytemporary

Reintroduce/fr

Deutsch · English · Esperanto · Français · Suomi

La directive Reintroduce fait partie de la programmation orientée objet.
La directiver Reintroduce permet de masquer une méthode de la classe mère par une nouvelle méthode portant le même nom.
Cela signifie qu'une nouvelle méthode existe dans la classe dérivée de la classe mère et dans toutes les autres classes dérivées de celle-ci.
La méthode de la classe mère est conservée et peut toujours être utilisée par la classe mère.\

La méthode de la classe mère n'existe plus dans la nouvelle classe, elle a été remplacée par la nouvelle méthode du même nom.
La méthode continue d'exister sous sa forme originale dans la classe mère et peut être utilisée via la classe mère.\

pascal
  procedure setTest(strName: String); reintroduce; // Cette méthode remplace la méthode de la classe mère dans la classe dérivée.

Plus d'infos:


From the Free Pascal wiki, page "Reintroduce/fr", as it stood on 2020-02-25 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Edited on wiki.freepascal.org by 4 people, 2018–2020

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
VisithierryCreated page
Kai BurghardtKai Burghardt moved page reintroduce to reintroduce/fr: content seems French (minor)
FTurtleFTurtle moved page reintroduce/fr to Reintroduce/fr: Keeping naming conventions (minor)
FTurtleFixed template name
TrevFixed syntax highlighting (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.