multiple inheritance
常見例句
- Another approach to the Expression Problem is multiple inheritance, in which one subclass can extend many superclasses.
表達(dá)式問題的另一種方法是多重繼承,即一個(gè)子類可擴(kuò)展許多超類。 - However, multiple inheritance being used only for interface implementation was thought to alleviate this problem somewhat.
不過,多重繼承只能用在被認(rèn)為可以減輕這一問題的接口實(shí)現(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ù)的問題,但它也重新將我們引向了虛擬繼承,而這是絕對(duì)要避免的。 返回 multiple inheritance