What is the difference between Overloading and Overriding ? Which of them is possible in ABAP ?
Answers were Sorted based on User's Feedback
Answer / aseem
Overloading : Overloading is when we have 2 Methods in the same or derived class but have different parameters.
Overriding : When we re-implement the method of a super class in a derived class. Is possible via REDEFINITION keyword.
I'm not sure if the first one is possible in ABAP. Let me test it out repost the answer.
Is This Answer Correct ? | 17 Yes | 2 No |
Answer / surya
Overloading:in class same method have different parameters, number of parameters or same method have different signature . sap not sported method overloading
Overriding : super class methods are reimplemented in subclass by using key word REDEFINITION
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / saurav
1. Overloading is possible only in case of constructor of a sub class.
2. Overriding is possible when you redefine a super class method in the sub class.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramesh
METHOD OVERLOADING: It is used when the parameters used in super class method are same as parameters in subclass method.
METHOD OVERRIDING : It is used when the parameters are different from one method to other method.
Both methods are used in ABAP.
Is This Answer Correct ? | 0 Yes | 6 No |
What are the components of SAP scripts?
In a transaction there are 5 screens (say) but while recording you could see only 3 screens.what will u do to avoid such situation?will u save it like that?
How to give programe name as input in BDC report of abap ?
can any one can give me the Fi and co flow? and the tables ?
What is the process to enhance the Infotype
How do you delete duplicate records from internal table?
What are the FM do we use in OM
What is the typical structure of an ABAP/4 program?
suppose i want to print sap script output in different printers at a time what are the settings i'll have to make?
Explain the disadvantages of abap query tool?
any 1 having notes on SAP-ABAP certification, or even if any 1 could provide the url for getting notes on SAP-ABAP certification, would be appreciated.
What is the difference between a substructure and an append structure? : abap data dictionary