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
Where the payroll results are stored
Write the bdc table structure? : abap bdc
Difference between Field groups and internal tables?
What is the Difference between At Line selection and At user-command?
What are logical data bases used in hr module? : abap hr
THANKS ALL. i CLEARED THE INTERVIEW OF INFOSYS BASED ON THIS QUESTION SET. IT REALLY WORKS. LONG LIVE ALLINTERVIEW.COM
How to create a link between modified form and modified print program?
Explain different types of attributes of function module?
What is meant by stacked list?
What happens Update command is used without where clause ?
What is the difference between scrolling a table horizontally and vertically?
What is logical database? : abap hr
What is the first thing you do after vendor setup is complete?
How to determine the attributes of an internal table?
Define abap/4 layer? : abap data dictionary