在子类内部,可以访问从另一个包继承过来的父类的Public和protected成员 在子类外部,只能通过子类对象名访问public成员 转载于:https://www.cnblogs.com/sunbr/p/11503640.html