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
Did you create primary index?
Explain the use of insert and append statement in sap abap?
What are the abap/4 commands that link to a layout set?
What is the function module for INDIAN PAYROLL to read table cluster for given cluster table and sequence number?
Do we have to migrate all sapscript forms to smart forms?
Type casting and error handling
What is the function of the transport system and workbench organizer?
What is the disadvantage of a call by reference?
What are the basic objects of the data dictionary? : abap data dictionary
From Excel to ABAP - Is batch mode possible ?
Mention the various databases integrities?
What is pnp-sw-found ? : abap hr
Explain the differences between interactive and drill down reports?
What is tcode se16. For what is it used. Explain briefly?
What are subroutines? : abap modularization