RAD Studio |  |

final
See Also
Collapse All

Category

Attributes, Keyword extensions

Syntax

Copy Code

    return-type function-name [[final]]

Description

The final attribute prevents a class or function from being further inherited. You can add the final attribute to a class definition or to a virtual member function declaration inside a class definition. If the attribute is specified for a class definition, it is equivalent to being specified for each virtual member function of that class, including inherited member functions.

See Also

Attributes noreturn and final

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!