Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 3
Access Modifier
When should we use private access modifier?
2 Answers
+ 2
When you want a field/property/ method to be used only within the scope of the class
When should we use private access modifier?