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 |
can we change the output value of LIST ?
22) Very important How to find user Exit for a standard SAP Object(field,screen,menu etc)?
How can cluster table be created?
Which objects are independent transport objects? : abap data dictionary
How do you see the data in a table?
which table contains the details of all Tcodes?
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
What are Call Transaction Modes?
What are conversion & interface programs in sap?
What is new enhancement framework?
How do you find if a logical database exists for your program requirements?
how to debug ale/idocs and how to correct errors and how to find out where the exact error occur