Use access modifiers (private, protected, and public) in Java