为什么定义char类型就会报错
public class HelloWorld{
public static void main(String[] args) {
final char sex1="男";
final char sex2="女";
System.out.println(sex+b);
}
}
public class HelloWorld{
public static void main(String[] args) {
final char sex1="男";
final char sex2="女";
System.out.println(sex+b);
}
}
2015-10-28
举报