Is Multiple Inheritance possible in ABAP ?
If Yes How ,If no How ?
Answer Posted / kumar gaurav
no,multiple inheritance is not possible in abap.because
suppose we inherit two classes in your class.Suppose we
have two classes A and B and both having method m with same
signature and different implementation.Now we inherit these
two classes in your Class C.Now when you create object of
class c and try to access the m method then there is
cofusion for which method to be called either of class A or
class B.i.e. there is a conflict in method selection.This
problem can be overcome with conceopt of interfaces.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What is For-period and In-period
What are the 3 types of function modules in sap?
what are the two methods of modifying sap standard tables ?
Which commands are used for interactive reports?
What was the requirement of IDoc in your project? How it was working?
What is append structure?
What is pnp-sw-found ? : abap hr
Define abap/4 layer?
Explain the Inportance of pa30? : abap hr
How did you transfer legacy data in the mid of the financial year (us) to the sap system? : sap abap hr
What is SAP Data conversion ?
Explain sap abap 3-tier architecture?
What is the difference between synchronous and asynchronous updates?
What is runtime analysis?
What is lock objects? : sap abap data dictionary