What is inheritance and multi-level inheritance? Explain with example ?
Answer Posted / sateesh
inheritance Means Re-usability, In SAP we have only single
Inheritance there is no Multiple Inheritance.
EG:
Class A{
Public Section: Write A.
}
Class B inheriting from A
{
Public Section: Write A,
Write B.
}
-> I mean here we are inheriting method A into Class B and
Redifing the method A and we are additionally adding "Write
B" in the Class B.
In ABAP only Single inheritance is Possible.
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
Can we make use of flow logic control key words in abap/4 and vice-versa?
Difference between open sql and native sql? : abap data dictionary
How do you get the number of lines in an internal table?
What is luw or data base transaction ?
Can we control the sequence in which multiple implementations of a multiple use BADI are called? If yes, how?
Can we define our own match code id's for sap matchcodes? : abap data dictionary
What are the ways you can do the tuning?
How the at-user command serves mainly in lists?
What are the different methods of passing data?
What are the system table used in abap?
What are the two ways of producing a list within a transaction?
hi i need detailed information on badi and bapi how can this work in real time senarios plz explain with exp
What is the difference between skip and reserve?
What is the difference between skip and new-line?
What are the components of selection table?