+ 3

Access Modifier

When should we use private access modifier?

13th Mar 2017, 1:49 PM
Shamanth Rai
Shamanth Rai - avatar
2 Answers
+ 2
When you want a field/property/ method to be used only within the scope of the class
13th Mar 2017, 1:52 PM
Petar Dimitrov
Petar Dimitrov - avatar