为什么输出的是你,努,好,而不是你,作,好
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
举报