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
wat is the default file name of BAPI trace?
How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?
How can a lock object be called in the transaction?
Can you define a field without a data element?
What is the difference between semi-monthly and Bi-weekly payroll area
Explain the disadvantages of abap query tool?
What is the use of the statement leave to list-processing?
Can you delete data element, which is being used by table fields. : abap data dictionary
What are the function modules used to create batch input session? : abap bdc
Differentiate screen painter from menu painter.
What are the disadvantages of using explicit enhancement?
How to create a check box/option button in a list?
How will you insert record in a sorted table
Fallback class
How do you find number of records present in internal table?