标签:分享图片 get .com 空指针 存在 子类 com etc getc
1.NPE 空指针报错
order.getCancelWrongdoer存在nullpointerexception情况
2.this 是当前对象,如果子类调用父类的方法,父类中使用this,调用同名的方法,是调用子类的方法,如果子类中是执行的是父类的方法,需要使用super
标签:分享图片 get .com 空指针 存在 子类 com etc getc
原文地址:https://www.cnblogs.com/jhuangsjtu/p/9241426.html