Keyword

Super


Description

Used in a subclass to call overridden inherited methods.

Usage

Super.MethodName

Part

Type

Description

MethodName

String literal

The name of the inherited method that is being called.

Notes

If a subclass has a constructor, the Code Editor will automatically suggest calling the Super class's constructor. This is because the subclass's constructor overrides the Super's constructor, and the new object may not be initialized correctly without a call to the Super's constructor.

Super applies only to methods of the Super class, not properties. Since inherited properties cannot be overridden the Super keyword does not apply.

Compatibility

All project types on all supported operating systems.