We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
$| super->constructor ...
1. ... super->meth ...
2. ... super->constructor ...
This special form of a static
method specification can be used in methods of subclasses to call the implementation of an identically named method in the direct superclass. The superclass is addressed using the
pseudo reference super.
... super->meth ...
Can be specified in the redefinition of the method meth in the implementation in a subclass and calls the implementation of the method meth in the direct superclass.
A method call super->meth can be used in the same operand positions and in the same syntax forms
as oref->meth, and the same rules apply to the parameter passing.
Call of the implementation of the method meth in superclass cls1 in the redefinition of the method in the subclass cls2.
... super->constructor ...
Must be specified in an instance constructor implemented in a subclass to call the instance constructor of the direct superclasses. The following restrictions apply before the superclass constructor is called:
After the superclass constructor is called, the self-reference me-> can be used and instance components can be accessed.
The superclass constructor can only be called using super->constructor as a standalone statement.
Call of the superclass constructor in instance constructor of a subclass. Without this call, a syntax error occurs.