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 IMG in SAP?
What data is contained? : abap data dictionary
What are the disadvantages of different types of bdc's?
what is a text table ?
We have got some values for Field F1 say 1,2,3,4 and F2 say 10,10,10,10.Now can you tell me what would be the output for F1 if we use At End Of event?and what would be the output for F2 if we use At Last event?Also i want to know what is the difference between Total calculation for At end event and grand total for At last event???
What is a type group?
Persistent class
Explain lsmw?
what is the difference between hashed & sorted internal tables?
What are the differences between transparent tables, pooled tables & cluster tables? : abap data dictionary
What are the rules to create a BAPI?
Describe the data classes?
Explain the difference between open_form and close_form?
What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc
Difference between select option and ranges ?