为什么不能用System.out.println(SEX1+SEX2);
public class HelloWorld{
public static void main(String[] args) {
final char SEX1='男';
final char SEX2='女';
System.out.println(SEX1+SEX2);
}
}
public class HelloWorld{
public static void main(String[] args) {
final char SEX1='男';
final char SEX2='女';
System.out.println(SEX1+SEX2);
}
}
2015-08-11
举报