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
What is the function module for INDIAN PAYROLL to read table cluster for given cluster table and sequence number?
Explain the Types of Select statements?
What are matchcodes?
What is the difference between Exit and Stop?
What is web dynpro for abap?
How can one distinguish between different kinds of parameters? : abap modularization
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
when u prefer lsmw?
Explain different types of locks?
Different between Interface and Abstract classes?
How do you write a function module in sap?
What is the function of a data element?
Explain get cursor field?
What is projection view?
How do you read files from the presentation server ? : abap bdc