How-to articles, tricks, and solutions about ACCESS-MODIFIERS
What is the difference between public, protected, package-private and private in Java?
In the Java programming language, the accessibility of a class, method, or field can be controlled using access modifiers. There are four access modifiers in Java: