instance?.stopTimer();是一种空安全调用,它会在instance不为null时执行stopTimer()方法,否则不执行。instance.stopTimer();是一种普通调用,它会无条件地执行stopTimer()方法,如果instance为null,会抛出空指针异常。