常見例句雙語例句Another approach to the Expression Problem is multiple inheritance, in which one subclass can extend many superclasses.表達(dá)式問題的另一種方法是多重繼承,即一個子類可擴(kuò)展許多超類。However, multiple inheritance being used only for interface implementation was thought to alleviate this problem somewhat.不過,多重繼承衹能用在被認(rèn)爲(wèi)可以減輕這一問題的接口實現(xiàn)中。Multiple inheritance might save us from the latter problem, but it would also lead us back to virtual inheritance, which we definitely want to avoid.多重繼承可能使我們不必処理後續(xù)的問題,但它也重新將我們引曏了虛擬繼承,而這是絕對要避免的。 返回 multiple inheritance