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

Where the payroll results are stored

1909


Write the bdc table structure? : abap bdc

598


Difference between Field groups and internal tables?

646


What is the Difference between At Line selection and At user-command?

650


What are logical data bases used in hr module? : abap hr

639






THANKS ALL. i CLEARED THE INTERVIEW OF INFOSYS BASED ON THIS QUESTION SET. IT REALLY WORKS. LONG LIVE ALLINTERVIEW.COM

15761


How to create a link between modified form and modified print program?

587


Explain different types of attributes of function module?

550


What is meant by stacked list?

601


What happens Update command is used without where clause ?

626


What is the difference between scrolling a table horizontally and vertically?

579


What is logical database? : abap hr

613


What is the first thing you do after vendor setup is complete?

885


How to determine the attributes of an internal table?

596


Define abap/4 layer? : abap data dictionary

601