Component visibility in ABAP Objects
Page 1 of 1
Component visibility in ABAP Objects
This is one of the most important concepts of OOP, here we provided with the flexibility to
assign visibility of the class components. But before we proceed any further lets clear the
fact what do we mean by visibility of class components?
The components of a class can only be accessed through the objects but declaring the class
components in different domains, which are defined as Public Private and Protected, these
domains control the accessibility.
Public components of a class can be accessed by the objects of a class components in the
public domain are totally visible outside the class other components within the class can also
access them.
Private components cannot be accessed by the objects of the class they can only be accessed
by the members within the class i.e. any member function within the class can access the
private members thus from the point of visibility no private components are visible outside
class. The sequence of declaring the components are public protected and private.
Similar topics
» Visibility sections example(Abstraction) in ABAP Objects
» Interface reference and component access in ABAP Objects
» Creating multiple Objects in ABAP Objects
» Difference between Procedural ABAP and ABAP Objects
» What is ABAP Objects?
» Interface reference and component access in ABAP Objects
» Creating multiple Objects in ABAP Objects
» Difference between Procedural ABAP and ABAP Objects
» What is ABAP Objects?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Mon Aug 20, 2012 4:37 pm by Admin
» Difference between Type and Like
Thu Jun 07, 2012 2:40 pm by Admin
» How to handle table control fields in Module Pool program?
Wed May 09, 2012 2:41 am by govind
» Three tables inner join in SAP
Thu May 03, 2012 4:47 pm by Uma_ABAP
» Creating table type in ABAP
Sat Apr 28, 2012 9:03 pm by Uma_ABAP
» Creating user defined types and structures in ABAP
Sat Apr 28, 2012 8:55 pm by Uma_ABAP
» Creating Dynamic Internal Table and Dynamic Field catalog in SAP-ABAP
Fri Apr 27, 2012 11:00 am by Admin
» Copy Custom PF-Status from Standard program to Custom Program in ALV
Thu Apr 26, 2012 9:52 pm by Uma_ABAP
» Calculate/find number of working days between two dates in SAP
Tue Apr 24, 2012 2:06 pm by Uma_ABAP