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
What is a bsp application? : sap abap hr
Is it possible to bring select option in module pool screens?
Can i Have Some Realtime Examples on Badi ?
What is smart forms? : abap hr
When was the sap abap being created?
What is the transaction code to display the payroll results ? : abap hr
Why do we use events and actions in web dynpro?
Explain the disadvantages of different types of bdc's?
What are the steps to be followed to set lockobjects? : sap abap data dictionary
What is meant by read lock? : sap abap data dictionary
What is a collect statement?
What are the drill-down features provided by abap/4 in interactive lists?
Explain the systems fields used for interactive lists and lists?
What is asap methodology? : sap abap hr
How to select valid lines for secondary list?