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 to split one Invoice into Multiple ( Step by Step)?
What is the difference b/t Session method and call transaction method ??
Difference between .Include and .append?
Name the special commands of list?
How do you populate data into a multiple line field?
Tell me a scenario where did you use secondary index?
How many primary keys can be created for a table?
How to write a code for multiple transactions? : abap bdc
What is an abap instance?
What are the different types of views in sap? : abap data dictionary
How will you find manager of an employee
Explain the difference between function group and function module?
Where are you used type casting?
hi experts,,, what is meant by documentation? test casr preparation? documentation and preparation and Tcode for this? quality and releasing? test case scenario?
I created a field and entered the field type, when I double clicked the field type to define the domain; it is asking for an ACCESS KEY, I am not changing any SAP defined tables, working on a user defined table.