| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Abstract Classes and Methods in Object Oriented Programming...Previous To define method
"AREA" as an abstract method, Go to
"Attributes" tab, check the check box "Abstract" When you click on the
"Abstract" check box, pop-up window is displayed, then press
Then press
"Change" button.
A successful message is
displayed like "Method changed successfully"
Creating
Sub Class: TCode: SE24 Enter the name of class as
'Z_DEMO_ABS_SUB_CLASS' and press Create Button to create sub class
A pop-up window is
displayed, then select "Class" radio button and Press enter
It goes to next screen,
here you enter the Description of the class and then Select the inheritance
button
Enter the Super class name
as "Z_DEMO_ABS_CLASS", which is being created earlier and press
The Attributes and methods
defined in the super class will automatically come into the sub class. See the
below screen shots.
Go to the Methods tab,
select the "AREA" method and click on "Redefine" button
If you are not Redefine the
method and trying to activate the class, it gives syntax error.
|
|
|
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 |
||