ประโยคภาษาจีน : 中文句子 |
---|
zài biān 在编 chéng 程 shí jiàn 实践 zhōng 中 zǒng shì 总是 cún zài 存在 yí dìng 一定 de 的 quán héng 权衡 jiē kǒu 接口 zài 在 hé 和 jī 基 lèi 类 yǒu guān 有关 de 的 fāng miàn 方面 tí gōng 提供 yí dìng 一定 de 的 zì yóu dù 自由度 ér 而 tóng shí 同时 chōu xiàng 抽象 lèi 类 yùn xíng 运行 nǐ 你 shāo hòu 稍后 tiān jiā 添加 xīn 新 de 的 fāng fǎ 方法 |
As always there is a trade-off, an interface gives you freedom with regard to the base class, an abstract class gives you the freedom to add new methods later. |