單項選擇題

假定AA為一個類,inta()為該類的一個成員函數(shù),若該成員函數(shù)在類定義體外定義,則函數(shù)頭為()。

A.intAA::a()
B.intAA:a()
C.AA::a()
D.AA::inta()

微信掃碼免費搜題