下面各项中定义变量及赋值不正确的是( )。
A: int i = 32;
B: float f = 45.0;
C: double d = 45.0;
D: boolean flag = true ;
A: int i = 32;
B: float f = 45.0;
C: double d = 45.0;
D: boolean flag = true ;
举一反三
- 下面各项中定义变量及赋值不正确的有( ) A: int i = 32; B: float f = 45.0 C: double d = 45.0; D: long x= (long)45.0;
- 下面各项中定义变量及赋值不正确的是? 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: byte k=125;
- 下面哪个是非法的() 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";