Understanding ABAP Object
page 4 of 12
by Arindam Ghosh
Feedback
Average Rating: 
Views (Total / Last 10 Days): 56191/ 165

Features of Object Orientation

Encapsulation

According to this property, objects restrict the visibility of their resources (attributes and methods) to other users. Every object has an interface which plays a very important role. It determines how other objects can interact with it. It is found that the implementation of the object is encapsulated, which means that it is invisible outside the object itself.

Polymorphism

According to this property, identical (identically-named) methods behave differently in different classes. Object-oriented programming contains constructions, which are called interfaces. They enable you to address methods with the same name in different objects. The implementation of the method is specific to a particular class, though the form of address is always the same.

Inheritance

According to this property, one can use an existing class to derive a new class. The data and methods of the super class are inherited by the derived classes. However, they can overwrite existing methods and add new ones.


View Entire Article

User Comments

Title: understanding ABAP Objects..   
Name: Anony
Date: 2008-10-06 8:28:45 AM
Comment:
Its worth reading and after this we need some lessons with examples to work it out and see abap objects in action...
Keep up the good work.

Thanks.
Title: Understanding ABAP Object   
Name: Reena
Date: 2008-07-15 12:41:28 PM
Comment:
Hi Arindam Ghosh,

I have read the entire article. Its indeed very useful and self explanatory.
Thank you providing the information so elaborately.
If given an example, it would have been even more appreciable...

Thanks and REgards

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2021 ASPAlliance.com  |  Page Processed at 2021-10-21 12:13:08 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search