extends 顾名思义是继承,继承一个父类的所有功能。 interface 是接口的意思,在其中定义某些虚函数,但没有具体实现。 implement 是执行实现的意思,在继承了接口定义的虚函数并实现。