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
There is a situation where there is a field "MATERIAL DESCRIPTION" in say 20 display only transaction. You want that whenever user opens any of these transaction, this particular field is masked with ****. But table does not holds ****. It holds the actual value. What are different ways of doing it? Which is the best way.
How to combine multiple billing into one RV document ( Step by Step)?
What are the events in ABAP language?
How many secondary indexes can we create in a table?
Which function module reads the data for particular infotype ? : abap hr
Explain the difference between domain and data element? What are aggregate object?
What do you do when the system crashes in the middle of a BDC batch session?
What are the update types possible? : abap data dictionary
Why do we use logical blocks in abap program?
What are the types of table fields in the sap abap?
Differentiate between ooabap and abap?
how to capture the errors in bdc Call transaction method?
What are the names of the function modules that will be generated upon activation of a lock object?
What are the aggregate objects in the dictionary? : abap data dictionary
Does every abap/4 have a modular structure? : abap modularization