1.

Does the ABAP object support multiple inheritances?

Answer»

Multiple inheritances mean where multiple classes can be a superclass of a single class. ABAP objects don’t SUPPORT multiple inheritances as we can’t INHERIT a class from more than one class. It allows defining a class INHERITING from only a single class in ABAP objects. If you are trying to DEFINE multiple superclasses during class definition, an error message will be prompted by the compiler. But still, you can accomplish a similar functionality like multiple inheritances by using Interfaces in SAP ABAP.



Discussion

No Comment Found