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


Please Help Members By Posting Answers For Below Questions

Did you create primary index?

736


Explain the use of insert and append statement in sap abap?

797


What are the abap/4 commands that link to a layout set?

1066


What is the function module for INDIAN PAYROLL to read table cluster for given cluster table and sequence number?

2061


Do we have to migrate all sapscript forms to smart forms?

809






Type casting and error handling

1120


What is the function of the transport system and workbench organizer?

846


What is the disadvantage of a call by reference?

835


What are the basic objects of the data dictionary? : abap data dictionary

793


From Excel to ABAP - Is batch mode possible ?

788


Mention the various databases integrities?

785


What is pnp-sw-found ? : abap hr

1121


Explain the differences between interactive and drill down reports?

715


What is tcode se16. For what is it used. Explain briefly?

724


What are subroutines? : abap modularization

810