Final (Property Keyword)
Usage
To specify that a property is final, use the following syntax:
Property name As classname [ Final ];
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 property is not final.
See Also
-
“Property Definitions” in this book
-
“Defining and Using Literal Properties” in Defining and Using Classes
-
“Working with Collections” in Defining and Using Classes
-
“Working with Streams” in Defining and Using Classes
-
“Defining and Using Object-Valued Properties” in Defining and Using Classes
-
“Defining and Using Relationships” in Defining and Using Classes
-
“Introduction to Compiler Keywords” in Defining and Using Classes