Google News
logo
SAP ABAP - Interview Questions
Is multiple inheritances supported by the ABAP object?
When a class has multiple inheritances, that class can have more than one superclass. Because we can only inherit a class from one other class, ABAP objects do not support multiple inheritances. It permits the definition of a class in ABAP objects that derives solely from a single class. The compiler will issue an error notice if you attempt to define multiple superclasses while the class definition is in progress. But even so, utilizing Interfaces in SAP ABAP, you may get functionality akin to multiple inheritances.
Advertisement