為什么輸出的是你,努,好,而不是你,作,好
public class E3 {
public static void main(String[] args) {
char x='你',y='e',z='努';
if(x>'A') {
y='努';
z='工';
}
else
y='作';
? ? z='好';
System.out.println(x+","+y+","+z);
}
}
public class E3 {
public static void main(String[] args) {
char x='你',y='e',z='努';
if(x>'A') {
y='努';
z='工';
}
else
y='作';
? ? z='好';
System.out.println(x+","+y+","+z);
}
}
2018-09-18
舉報
2018-10-13
else{? }你少個括號不然就是二樓說的
2018-10-13
字節(jié)數(shù)嗎
2018-10-13
不是說>兩邊只能是數(shù)值嗎
2018-09-18
if(x>'A') {
y='努';
z='工';
}
你 努 工