Skip to main content
Next section

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 }
Copy code to clipboard

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