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 are subroutines? : abap modularization
After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?
What is an update task?
While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc
What are the basic components of dialog program?
What is the maximum number of match code id's that can be defined for one match code object? : abap data dictionary
What are the different types of laws. What are they?
Explain the differences between sap memory and abap memory?
What is meant by a schema? : sap abap hr
What is alv programming in abap?
What are the difference between call screen and leave screen?
A field-groups statement or an insert statement reverses storage space and transfers values. State true or false. : abap modularization
Difference between top-of-page and top-of-page during at line- selection?
What are the events used in abap in the order of execution?
What are interactive reports?