Specifies that the class cannot have subclasses.
Synopsis
Class MyApp.Exam As %Persistent [ ClassType = persistent, Final ] {
}
Value
The value of this keyword is boolean value.
Description
Specifies that the class cannot have subclasses. You cannot create any additional classes that use a Final class as a super class. The Final keyword also instructs the Class Compiler that it may take advantage of certain code generation optimizations (related to the fact that instances of a final class cannot be used polymorphically).
Default Value
The default value for the Final keyword is false.