單項(xiàng)選擇題

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

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

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