Hi
I've been working with Java for a while now but there's one basic thing I still don't understand.
Java got 4 Access Modifiers
- Default
- Public
- Private
- Protected
I know the difference between them, the thing is I don't now why you should use different Modifiers. Wouldn't it be easier if all fields where declared public?