I have been working with android for a few years now, not once have I had a teacher or anyone to tell me what to do. This whole time I have wondered to myself this.
Java has four levels of visibility: public, protected, (default), private. The meaning of these is as follows:
The same rules apply when specifying the access modifiers on classes, methods and fields.