下列( )是能通过编译的语句
A: double d = 545.0
B: int i = 321
C: float f1 =45.0f
D: char a1 =“c”
A: double d = 545.0
B: int i = 321
C: float f1 =45.0f
D: char a1 =“c”
举一反三
- 下列哪个语句不能通过编译。( ) A: double d = 545.0; B: char a1 = “c”; C: int i = 321; D: float f1 =45.0f;
- 下列哪个语句不能通过编译。( )[br][/br] [br][/br] A: int i = 321; B: float f1 =45.0f; C: char a1 = “c”; D: double d = 545.0;
- 下面哪个是非法的() 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’; //符号错