Java define a explicit package-private modifier [closed]
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . Improve this question Obviously Java has a Access level package-private which achieved by not adding any explicit modifier. But isn't there a way to explicitly add this modifier? It's a bit confusing that we need to omit access level when we want to use member in package only