| Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Working on PolymorphismBy Vikram Chellappa, Mouri Tech Solutions 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. Go
to SE24
T-code.
Press
create button.
Press
Save
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.
Select
display_method
then provide the parameters for this method.
Go
back to method then provide the logic.
Save
it
Provide
SUBCLASS:
Press
CREATE
button.
Click
on
Go
to attribute provide the values that means provide super class name.
Go
to methods we can see like this.
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||