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
It is possible to assign a local data object defined in a subroutine or function module to a field group. State true or false. : abap modularization
Explain the different types of screen keywords?
What are the different attributes that can be assigned to a variant?
what is difference between user exit, customer exit and badi?
Explain open dataset in sap abap?
Explain the use of table maintenance allowed?
where do we store all custom programs in SD module?
What is your approach for writing a bdc program? : abap bdc
What is sequence number
What is the use of 'for all entries'?
Explain Singleton class
What are the types of windows in sap script?
To find the date difference & excude saturday & sunday in between them
What is a modification assistant?
What is static attribute