Skip to main content

Abstract

Specifies whether this is an abstract method.

Usage

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.

Details

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 Caché class library.

Default

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

See Also

FeedbackOpens in a new tab