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
Can you assign a matchcode object to a parameter? If so how?
out bound process code for quotation?
What is a persistent class?
What are the steps in a bdc session? : abap bdc
How do you activate a function exit?
Explain how is batch input process different from processing on line?
What are the functional modules used in sequence in bdc? : abap hr
What are conversion & interface programs in sap?
What are the organizational related infotypes? : abap hr
What is img? : sap abap hr
What is the max no of match code id’s that can be defined for one match code object?
What are interface/conversion programs in SAP?
How do u set up background jobs in SAP? What r the steps? What are the event driven batch jobs?
What are types of select statements?
Differentiate between the uline and write: sy-uline statements if any?