You know, we have several Access Modifiers. Public, private, protected
But why we have use htem? I'm sure these features are so good and I have to use them but the question is why?
Just found a link about this question but it's complicated. everybody has said an odd and heavy thing. here is the link:
Please explain it in a simple manner as possible as and tell us What problem have you got so far and how did you solve that problem using Access Modifiers.