例如,下面的初始化是可行的: BrassPlus dilly("Annie Dill",493222,2000); Brass * pb = &dilly; // ok Brass & rb = dilly; // ok 將衍生類別的 reference 或指標, ...
確定! 回上一頁