class Base1{};struct Base2{};class Derive:Base1,Base2{};. 那么,Derive類將私有繼承Base1,公有繼承Base2。相當於: class Derive:private Base1,public Base2{}; ...
確定! 回上一頁