instanceof 用于判断左边的 是否是 右边的 类型 override方法重写,子类继承父类时可重写父类方法。 突然疑惑:继承和实现接口的区别是什么, 转载于:https://www.cnblogs.com/happylan/p/10544853.html