POLYMORPHISM:-
Polymorphism is a characteristic of being able to assign a different behavior or value in a subclass, to something that was declared in a parent class. For example, a method can be declared in a parent class, but each subclass can have a different implementation of that method. This allows each subclass to differ, without the parent class being explicitly aware that a difference exists.CLAUSES REGARDING POLYMORPHISM:-
1.Allows one interface to be used for a general class of actions.
2.When objects from different classes react differently to the same procedural call.
3.User can work with different classes in a similar way, regardless of their implementation.
4.Allows improved code organization and readability as well as creation of “extensible” programs.
5.Although the form of address is always the same, the implementation of the method is specific to a particular class.
Go to SE24 T-code.
Press create button.
Press Save button
Provide methods.
Select the first method then provide the parameters for this method.
Go back to the methods then double click on the method name.
Then provide the logic.
-------------------------------
NEXT Working on Polymorphism1
Working on Polymorphism1 In SAP ABAP
Topics
-
▼
2008
(35)
-
▼
September
(35)
- SAP ABAP What date format should be used in batch ...
- Easy Way To Remember Table In SAP ABAP
- Difference between extract and collect statements ...
- Trace when a variant of a report was created In SA...
- What is use of using HASHED TABLE In SAP ABAP
- How to get the field descriptions of a table In SA...
- Difference between Work Area and Header Line In SA...
- Working on Polymorphism In SAP ABAP
- Working on Polymorphism1 In SAP ABAP
- How to delete an editor lock In SAP ABAP
- What is the difference between SMOD and CMOD In SA...
- ABAP Self Test Q & A In SAP
- SAP ABAP Interview Questions And Answers
- SAP ABAP Interview Questions And Answers1
- SAP ABAP Real Time Interview Questions And Answers
- Interview Questions And Answers for SAP ABAP
- SAP ABAP Interview Questions And Answers(FAQ's)
- ABAP FAQ in SAP
- ABAP Frequently Asked Question in SAP
- ABAP FAQ in SAP Important
- ABAP Frequently Asked Question FAQ in SAP
- Sample Test Questions on ABAP Programming in SAP
- Real Time questions in SAP ABAP
- QUESTION Database in SAP ABAP
- ABAP Objective Questions in SAP
- Learning ABAP or SAP Application
- Interview Question on BAPI, RFC, ABAP Objects, Tab...
- ABAP Interview Questions in SAP
- Faq Miscellaneous in SAP ABAP
- SAP ABAP FAQ (Technical)
- Important ABAP FAQ's in SAP
- ABAP Certification Sample Questions for Abapers in...
- The Other 50 ABAP Interview Faq's in SAP
- ITs about FAQS in SAP ABAP
- Real Time questions in SAP ABAP
-
▼
September
(35)