單項選擇題

代碼public static const int A=1;中的錯誤是()

A. A需要定義類型
B. 格式錯誤
C. const不能用static修飾符
D. const不能用public修飾符

微信掃碼免費(fèi)搜題