ประโยคภาษาจีน : 中文句子 |
---|
yào 要 shǐ yòng 使用 yí gè 一个 kuò zhǎn 扩展 nín 您 yīng gāi 应该 zhí jiē 直接 chuàng jiàn 创建 yí gè 一个 kuò zhǎn 扩展 zǐ lèi 子类 duì xiàng 对象 rán hòu 然后 shǐ yòng 使用 tiān jiā 添加 huò zhě 或者 zhòng xiě 重写 tè xìng 特性 dào 到 fù 父 lèi 类 tā 它 cóng 从 qí zhōng 其中 yǎn shēng 衍生 de 的 |
To use an extension, you directly create an object of the extension subclass, which can then use, add, or override features to the parent class it is derived from. |