0
what the access modifiers mean?
2 Respostas
+ 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.
- 1
access modifier mean to create a limit for your variable or function. scope is defined by Zen