RAD Studio
ContentsIndex
PreviousUpNext
final

Category 

Attributes, Keyword extensions 

Syntax  

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.

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