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
How move-corresponding works
What is read line in abap?
What is the difference between a substructure and an append structure?
What is the t-code to display batch input sessions? : abap bdc
What are the different types of abap reports in sap?
How to Solve a Particular Ticket in Realtime ?
What do you do when the system crashes in the middle of a BDC batch session?
What is the difference between skip and new-line?
What are the rules to create a BAPI?
Can i have some Realtime Scenarios on Reports.
ALV Report that will show the details of order like order no, order date, customer, product code & description, order quantity and value along with the details of dispatch of those orders like invoice no, invoice date, invoice quantity and pending order quantity. plz mention the detail coding Tahnks, Rahul
WHAT ARE THE INPUT PARAMETERS TO BE PASSED FOR THE BAPIS 'BAPI_CUSTMATINFO_GETDETAILM' AND 'BAPI_CUSTMATINFO_GETLIST'
Define external layer?
What are the aggregate objects in the dictionary? : abap data dictionary
How to create a check box/option button in a list?