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 move-corresponding works

934


What is read line in abap?

645


What is the difference between a substructure and an append structure?

630


What is the t-code to display batch input sessions? : abap bdc

639


What are the different types of abap reports in sap?

773






How to Solve a Particular Ticket in Realtime ?

1755


What do you do when the system crashes in the middle of a BDC batch session?

700


What is the difference between skip and new-line?

804


What are the rules to create a BAPI?

1169


Can i have some Realtime Scenarios on Reports.

1819


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

2177


WHAT ARE THE INPUT PARAMETERS TO BE PASSED FOR THE BAPIS 'BAPI_CUSTMATINFO_GETDETAILM' AND 'BAPI_CUSTMATINFO_GETLIST'

1775


Define external layer?

639


What are the aggregate objects in the dictionary? : abap data dictionary

753


How to create a check box/option button in a list?

2466