Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling the super class method from the subclass

Hi all,

I have a question about inheritence and redefinition of methods. Is it possible to call the superclass implementation of a method which is redefined in the subclass in another method of the subclass?There are possbilities like creation of an explicit super class instance or delegating the super class method implementation to another method which is also protected etc. What i mean is, is there a direct way of calling it?We have ,me, as the reference for the instance we have(which is the subclass instance in this case), is there also a way of pointing the superclass implementation(with super we can reference in the subclass redefinition, my question is if we have such a parameter in other methods of the subclass too)

Thanks in advance

Sukru

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question