C++抽象类:含有纯虚函数的类.

Java接口:

1.全部方法都是抽象方法的类.

2.用interface关键字来定义.

results matching ""

    No results matching ""