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 meant by a schema? : sap abap hr
How are the function code handles in flow logic?
What is view? Explain the different types of view?
What is processing class, where we do them and why? : sap abap hr
How is conversion of data types done between abap/4 & external level?
Can you delete a domain, which is being used by data elements? : abap data dictionary
What are the uses of table pool or table cluster.
How can you manipulate the presentation and attributes of interactive lists?
Can i Have Some Realtime Examples on Badi ?
What is payroll driver
How can one distinguish between different kinds of parameters? : abap modularization
in bdcsome times we get the ok code for "enter" wrongly instead of '/00'.what is the reason.how we can exceed this problem.
Normally how many and what files get created when a transaction program is written?
What is the difference between synchronous and asynchronous update?
What are the two levels in defining a match code ?