|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Abstract Classes and Methods in Object Oriented Programming
To define method
"AREA" as an abstract method,
"Attributes" tab, check the check box "Abstract"
When you click on the
"Abstract" check box, pop-up window is displayed,
A successful message is
displayed like "Method changed successfully"
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
It goes to next screen,
here you enter the Description of the class and then
Select the inheritance
to inherit the super class then press
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
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
©2006-2007 SAPTechnical.COM. All rights reserved.
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