ประโยคภาษาจีน : 中文句子 |
---|
lèi 类 kě yǐ 可以 yǒu 有 bù tóng 不同 de 的 gòu zào 构造 hán shù 函数 fāng fǎ 方法 zhè xiē 这些 fāng fǎ 方法 shì 是 tōng guò 通过 lèi míng 类名 chēng 称 hòu 后 de 的 yuán kuò hào 圆括号 nèi 内 fù dài 附带 de 的 bù tóng 不同 shǔ xìng 属性 jìn xíng 进行 qū fēn 区分 |
A class can have different constructor methods, differentiated by the different attributes enclosed within the parentheses following the class name. |