docs.intersystems.com
Home / Class Definition Reference / Class Keywords / Abstract

Class Definition Reference
Abstract
Next section
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


Next section
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-05-14 12:01:32