ประโยคภาษาจีน : 中文句子 |
---|
rú guǒ 如果 liǎng gè 两个 lèi 类 xū yào 需要 zhī chí 支持 xiāng tóng 相同 de 的 jiē kǒu 接口 tā men 它们 dōu 都 yīng gāi 应该 kuò zhǎn 扩展 xiāng tóng 相同 de 的 chāo 超 lèi 类 |
If two classes need to support the same interface, they should both extend the same superclass. |