We have already seen a brief introduction to 'Java modifiers' in the 'Basic Java concepts' post. As we have already mentioned, there are four access modifiers in Java. They are: publicprivateprotecteddefault We will discuss whether classes, methods or variables can make use of the access modifier and their scope. 'public' access modifier: The public access modifier is applicable to classes, methods and