|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
By Dharani Prasanna, IBM India
which contain one or more abstract methods or abstract properties, such methods
or properties do not provide implementation. These abstract methods or
properties are implemented in the derived classes
Abstract classes does not
create any instances to that class objects
of Abstract class:
We can define some common
functionalities in Abstract class (Super-class) and those can be used in derived
classes (Sub classes).
Approach to create Abstract classes and Methods
Enter the name of class as
'Z_DEMO_ABS_CLASS' and press Create Button
A pop-up window is
displayed, then select "Class" radio button and
It will go to the next
Here you enter the
Description of the class and then select "Abstract" from Instantiation
Drop down list to define the class an abstract class,
Then click on save
Go to the
Enter the Attribute name,
Level, Visibility, Type and Description as shown in the screen shot.
Go to Methods tab,
Enter Method name, Level,
Visibility and Description as shown in the below screen shot
Double click on the Method
name "AREA"; it goes to method Implementation screen.
Go to Menu path, then Goto
-> Method definition
Pop-up window is displayed.
It gives complete information of the method
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