A.慵漢式 B.餓漢式 C.懶漢式 D.雙重鎖定
A.關(guān)鍵字:抽象類abstract接口interface B.抽象類繼承extends接口實(shí)現(xiàn)implements C.abstract比interface更抽象 D.抽象類只能單繼承接口可以多實(shí)現(xiàn)
A.依賴關(guān)系 B.泛化關(guān)系 C.關(guān)聯(lián)關(guān)系 D.組合關(guān)系