单项选择题
在Java中,下列( )语句不能通过编译。( )
A.
String s = "john" + "was" + "here";
B.
String s = "john" + 3;
C.
int a = 3 + 5;
D.
float f = 5 + 5.5;
点击查看答案&解析
