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


Please Help Members By Posting Answers For Below Questions

How to call a subroutine in sapscript?

780


How are the date abd time field values stored in sap?

806


how do you call third selection screen ?

1833


Difference between sy-tabix and sy-index? Where it is used?

702


What is full form of bdc session? : abap bdc

866


PLEASE HELP ANYONE ON THIS ISSUE,is there any problem with this function module :RHPQ_T77BX_ADD_QUALIS_OF_DPLAN. IT IS TRIGGERING BEFORE COMPLETION OF THE DEVELOPMENT PLAN but it has to trigger after compltion of development plan..this issue raised in my project..so reply urgently..thanks in advance..

1912


What are the different abap editors? What is the used of different editors in abap?

782


What are the various events associated with screen programming?

952


What is the maximum number of structures that can be included in a table or structure

820


What are the buffering options in abap?

766


Can i know some of the Realtime tickets that anyone has been faced ?

1868


What is exception class and test class. How to use it?

1107


What are the different types of laws. What are they?

782


What is append structure?

732


What is the difference between select statement and provide statement ? : abap hr

798