Specifies that a declared element can be extended or overridden.
Notice: Elements with the modifiers
@Override are also open to re-implementation.
You must know
- Mixed modifiers
- You cannot put
@Overridein the same declaration.
- Class extension
- You can extend a class only if it has one of the modifiers
- Declaration contexts
- You can declare open methods and properties only in an open class.
@Open Class MyBaseClass @Open Method MyMethod End Method End Class Class MyDerivedClass Is MyBaseClass @Override Method MyMethod End Method End Class