使用class 时,类中的成员默认都是private 属性的;而使用struct 时,结构体中的成员默认都是public 属性的。 class 继承默认是private 继承,而struct 继承默认 ...
確定! 回上一頁