Skip to main content

Final (Method Keyword)

Specifies whether this method is final (cannot be overridden in subclasses).


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.


A class member that is marked as final cannot be overridden in subclasses.


If you omit this keyword, the method is not final.

See Also

FeedbackOpens in a new tab