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 |
You are running a report. It is taking long time for execution. What steps will you do to reduce the execution time.
How to debug a smart form?
5 Answers IBM, Mind Tree, TCS,
What are the differences between se01, se09 and se10?
What are the different methods of passing data? : abap modularization
What are the update types possible? : abap data dictionary
Explain what are the various types of selection screen event?
11. what is the difference between user-exit & customer-exit?
How to validate the entry in Screen & dialog proframming?? Is there any way to send the error??
How do you find number of records present in internal table?
What are RFCs? How do you write RFCs on SAP side?
How BAPI is Different from call Transaction/Session
what is a ticket?