docs.intersystems.com
Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Class Keywords  /  Abstract


Class Definition Reference
Abstract
[Next] 
InterSystems: The power behind what matters   
Search:  


Specifies whether this is an abstract class.
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