This is to represent the modifiable level of any members used in our program. This determines whether the particular can be accessed are not.
In general there are 4 types:
PRIVATE: the member which is given with private modifier can be accessed only with in the containing class
PROTECTEDC INTERNAL: This can be accessed from the current projector the type inherited
INTERNAL can be accessed only from the current project.
PROTECTED: This be accessed from the class and the derived class.
PUBLIC: It is not restricted. It can be accessed from any where.
No comments:
Post a Comment