Open main menu

Wikibooks β

Ada Programming/Keywords/overriding

< Ada Programming‎ | Keywords

Ada Lovelace 1838.jpg

This language feature is only available from Ada 2005 on.

The keyword overriding can be used to explicitly declare a procedure or function as an overriding subprogram. There are two forms available:

procedure Overriding_Procedure (This: in Class_Type);
not overriding
procedure Not_Overriding_Procedure (This: in Class_Type);

The first declares the procedure as overriding the second does not.


See alsoEdit