java的访问权限 Java语言中有4中访问修饰符:friendly(默认)、private、public和protected。 public :能被所有的类(接口、成员)访问。 protected:只能被本类、同 ...