Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

Abstract

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

Feedback