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


Please Help Members By Posting Answers For Below Questions

What are roles and authorization objects?

1327


How to Solve a Particular Ticket in Realtime ?

1895


Can anyone done BDC/LSMW/BAPI for F-02 and F-04.If yes let me know the processs

2094


What is meant by read lock? : sap abap data dictionary

702


What is the t-code to display batch input sessions? : abap bdc

785






How do you take care of performance issues in your ABAP programs?

801


State the system field for the current date?

748


What is the difference between synchronous and asynchronous updates?

717


What is repository info. Systems? : abap data dictionary

695


Under Data Transfer Portion of ABAP, what do you mean by DX Project

1966


Exception handling and how does it transfer from called method to calling method?

1018


BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul

1779


What is partner selection?

736


How to load data from ms excel sheet to sap by using bdc method ? : abap bdc

877


What are the three components of a work process?

772