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

SAP Script for Billing in which Billing document number was displayed as header, Bill Type, Bill Category, Bill Item, Cost, Base Unit of Measurement and Material number were categorically displayed for each billing document number. plz mention the detail coding Tahnks, Rahul

2271


What are the different types of parameters?

782


What are the events in ABAP language?

796


Work most on which module: name a few tables?

760


What are ranges?

777


How are the function code handles in flow logic?

792


How do you set up background jobs in sap? What are the steps? What are the event driven batch jobs?

774


What is function group?

821


Some Realtime Examples on Exits .

1904


What is gui status? How to create /edit gui status?

813


In Smartforms or ADOBE Forms Can we get text from standard table in verticle form? if yes, How?

2054


What is delivery class? : abap data dictionary

862


Explain the different types of mode (run code) in call transaction method?

765


When you prefer lsmw?

777


Does the call transaction method allow multiple transactions to be processed by sap? : abap bdc

711