Abstract
Usage
To mark a class as abstract, use the following syntax:
Class MyApp.MyClass [ Abstract ] { //class members }
Otherwise, omit this keyword or place the word Not immediately before the keyword.
Details
If a class is abstract, you cannot create instances of it.
Effect on Subclasses
This keyword is not inherited.
Default
If you omit this keyword, the class is not abstract.
See Also
-
“Class Definitions” in this book
-
“Defining and Compiling Classes” in Using Caché Objects
-
“Introduction to Compiler Keywords” in Using Caché Objects