1.private-->本类可以访问
2.friendly(默认)-->本类,同包可以访问
3.protected-->本类,同包,子类可以访问
4.public-->访问权限最大
posted on 2020-07-22 00:38  谢晨锋  阅读(131)  评论(0)    收藏  举报