What is inheritance and multi-level inheritance? Explain with example ?
Answer Posted / instance softech
Inheritance is nothing but acquiring the properties of one
class(base class) to another class(child class).
Multi-level Inheritance is nothing but one parent class that
have more than one child class. For Ex, P1 is parent Class
and C1 and C2 are the Child classes, now C1 can acquire the
properties of Parent class P1 and C2 can acquire the
properties of both Child calss C1 and Parent Class P1.
SAP ABAP SUPPORTS MULTI-LEVEL INHERITANCE... SAP ABAP NOT
SUPPORTS MULTIPLE INHERITANCE, ACHIEVES THROUGH INTERFACES
CONCEPT...
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
What is a table cluster? : abap data dictionary
How do you execute the payroll
What are multiple use BADIS?
What is a logical database?
what is the difference between hashed & sorted internal tables?
In which table the material master data is stored?
What actually happens in real-time recruitment? : sap abap hr
Is there any method apart from bdc for data upload to sap? : abap bdc
What is an rfc?
What are the different control break statements available inside a loop?
what is abstract classes
What are uses of foreign key?
What is the procedure you followed to upload the data?
Explain the difference between cluster tables and pool table?
How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?