[TOC] <!-- Interfaces --> # 第十章 接口 <!-- Abstract Classes and Methods --> ## 抽象类和方法 <!-- Interfaces --> ## 接口创建 <!-- Abstract Classes vs. Interfaces --> ## 抽象类和接口 <!-- Complete Decoupling --> ## 完全解耦 <!-- Combining Multiple Interfaces --> ## 多接口结合 <!-- Extending an Interface with Inheritance --> ## 使用继承扩展接口 <!-- Adapting to an Interface --> ## 接口适配 <!-- Fields in Interfaces --> ## 接口字段 <!-- Nesting Interfaces --> ## 接口嵌套 <!-- Interfaces and Factories --> ## 接口和工厂方法模式 <!-- Summary --> ## 本章小结 <!-- 分页 --> <div style="page-break-after: always;"></div>