Java中abstract class和interface的区别 abstract 里面可以定义方法,也可以实现方法,interface只能定义;abstract 的方法在子类中可以不实现,也可以重写父类的方法。而 interface 中的所有方法一定要实现,不可遗漏