interface 1.interface 内的方法都是抽象的方法,可以不用写abstract。 2.先继承extends类再实现接口,类只可以继承一个,接口可以实现implement多个。 3.需要重写接口的方法。