protected  继承访问权限

在同一包中可以访问protected成员.

继承状态可以访问protected成员

在不同包中非继承不可以访问protected成员.

04-17 19:45