docs.intersystems.com
Home / Class Definition Reference / Method Keywords / Final

Class Definition Reference
Final
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Specifies whether this method is final (cannot be overridden in subclasses).
Usage
To specify that a method is final, use the following syntax:
Method name(formal_spec) As returnclass [ Final ] 
{    //implementation }
Otherwise, omit this keyword or place the word Not immediately before the keyword.
Details
A class member that is marked as final cannot be overridden in subclasses.
Default
If you omit this keyword, the method is not final.
See Also


Previous section           Next section
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-04-23 15:16:11