Skip to content
VitePress KB
Search
K
Main Navigation
📚 知识体系
🏷️ 标签
Appearance
Menu
Return to top
On this page
接口
Q:是什么?
A:可理解为对象间相互通信的协议。
Q:能干啥?
A:只定义子类要用到的方法,但是方法的具体实现完全取决于子类。