下面哪个是非法的()
A: int I = 32;
B: float f = 45.0;
C: double d = 45.0;
D: char c = ‘u’;
A: int I = 32;
B: float f = 45.0;
C: double d = 45.0;
D: char c = ‘u’;
举一反三
- 下面哪个是非法的:( ) A: int I = 32; B: float f = 45.0; C: double d = 45.0; D: char c = ‘u’; //符号错
- 下面哪个是非法的:( ) A: int I = 32; B: float f = 45.0; C: double d = 45.0; D: char c = "u";
- 下面哪个是非法的( ) A: int I=32; B: float f=45.0; C: String s="abc"; D: char c='u';
- 下面各项中定义变量及赋值不正确的是? A: int i = 32; B: float f = 45.0; C: char c = 65; D: double d = 45.0;
- 下面各项中定义变量及赋值不正确的有( ) A: int i = 32; B: float f = 45.0 C: double d = 45.0; D: long x= (long)45.0;