1. 类成员的访问权限 包外 包内 继承类 本类 packet( 默认): n y y/n y public: y y y y protected: n y y y private: n y y y 2.