摘要: Java中有4种权限修饰符 public > protected > (default) > private 同一个类 同一个包 不同包子类 不同包非子类 default直接不写就行 阅读全文