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
What are the disadvantages of different types of bdc's?
How many types of tables exists and what are they in data dictionary?
How many default tab strips are there? How to insert more tabs in it?
What is Transactional based Application & Role based Application?
What are the components of sapscript?
I created a field and entered the field type, when I double clicked the field type to define the domain; it is asking for an ACCESS KEY, I am not changing any SAP defined tables, working on a user defined table.
what is a text table ?
What is the difference between commit-work and rollback-work tasks?
What are the field and chain statements?
Can you assign a matchcode object to a parameter? If so how?
Can we create a gui status in a program from the object browser?
What are the types of bdc s?
From excel to abap - is batch mode possible ? : abap bdc
What is Buffering Concept? When should a Table be buffered?
What are the aggregate objects in data dictionary? : sap abap data dictionary