Skip to main content

Abstract (Method Keyword)

Specifies whether this is an abstract method.


To specify that this method is abstract, use the following syntax:

Method name(formal_spec) As returnclass [ Abstract ] {    //implementation }

Otherwise, omit this keyword or place the word Not immediately before the keyword.


An abstract method has no implementation and has no executable code generated for it. Abstract methods exist solely for the purpose of defining a method signature (or interface) that can be overridden and implemented within one or more subclasses. Some examples of abstract methods are the various callback methods defined, but not implemented by, in the InterSystems IRIS class library.


If you omit this keyword, the method is not abstract.

See Also

FeedbackOpens in a new tab