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

What are the disadvantages of different types of bdc's?

753


How many types of tables exists and what are they in data dictionary?

1165


How many default tab strips are there? How to insert more tabs in it?

715


What is Transactional based Application & Role based Application?

1194


What are the components of sapscript?

755






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.

1488


what is a text table ?

2006


What is the difference between commit-work and rollback-work tasks?

776


What are the field and chain statements?

702


Can you assign a matchcode object to a parameter? If so how?

724


Can we create a gui status in a program from the object browser?

724


What are the types of bdc s?

697


From excel to abap - is batch mode possible ? : abap bdc

755


What is Buffering Concept? When should a Table be buffered?

12171


What are the aggregate objects in data dictionary? : sap abap data dictionary

814