立即学习:https://edu.csdn.net/course/play/25504/304699?utm_source=blogtoedu 实例属性,必须通过实例化对象后,通过对象去访问; 类属性,不需要实例化对象,通过类名访问