0

what the access modifiers mean?

19th Oct 2016, 12:58 PM
poool
2 Réponses
+ 6
public: the class member is accessible from anywhere. protected: the class member is accessible from within the class and its derived classes. private: the class member is only accessible from within the class.
19th Oct 2016, 1:19 PM
Zen
Zen - avatar
- 1
access modifier mean to create a limit for your variable or function. scope is defined by Zen
19th Oct 2016, 4:54 PM
Shaikh Shamim
Shaikh Shamim - avatar