... 数据封装 - Encapsulating Data 自定义现有的类 - Customizing Existing Classes 使用协议 - Working with Protocols ...
基于1个网页-相关网页
自定义现有的类
Customize the existing classes
以上为机器翻译结果,长、整句建议使用 人工翻译 。
继承允许您在新的类中重用和自定义现有的代码。
Inheritance allows you to reuse and customize existing code inside a new class.
youdao
应用推荐
模块上移
模块下移
不移动