仔細閱讀下面的程序 請問該程序的正確輸出是()
A.constructorBdestructorB B.constructorBdestructorC C.constructorBdestructorBdestructorC D.constructorBdestructorCdestructorB
A.純虛函數(shù)是一種特殊的虛函數(shù),它沒有具體的實現(xiàn) B.抽象類是指具有純虛函數(shù)的類 C.一個基類中說明了純虛函數(shù),該基類的派生類一定不再是抽象類 D.抽象類一般作為基類來使用,而不能創(chuàng)建任何具體的對象
A.virtualCVirtualClass(); B.staticvirtualvoidsetValue(int); C.constCVirtualClass&print()const=0; D.virtualintgetValue()const=0;