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 is the difference between collect and append statements?
without debugging key how can i debug function module?
WHAT IS THE USE AND DIFF B/W INSERT, UPDATE AND MODIFY WHILE UPDATING THE DATABASE TABLES?
I want to disable a field in selection screen so that it does not appear while displaying.How can i do that?wat wud be the code?
in scripts 1,2,3,4,5,6,7,8,9,10.............50 pages.then i want only 4 to 50 how it is possible?ans also iwant only 1,3,5,7,9 .....how it is possible?
What is the structure of CTU PARAMS ?
****THANK YOU ALL ABAP EXPERTS**** I got a JOB as ABAP Consultant in Infosys.I cleared the interview.The question posted here are really good.I cleared interview based on this material only.It really works.I thank all members who posted que&ans here. Those who are in search of job in MNC study this question set only you will get sucess. Thanks once again allinterview.com and members of this community. tulika20021@rediffmail.com
0 Answers AC Tech, Accenture, IBM,
What is an index? By default system will create the primary index or User can create,if user How? And also Secondary indexes by User or by defaultly system?
What is a predefined type in abap?
program name for displaying colors , and program name for displaying symbols in list ?
What is the basic difference internal tables and database tables? : abap data dictionary
What is the disadvantage of using EXEC SQL stmt do in ABAP?