final char SEX1='男';不可以吗???答案用的是String
public class HelloWorld{
public static void main(String[] args) {
final char SEX1='男';
final char SEX2='女';
System.out.println(SEX1);
System.out.println(SEX2);
}
}
public class HelloWorld{
public static void main(String[] args) {
final char SEX1='男';
final char SEX2='女';
System.out.println(SEX1);
System.out.println(SEX2);
}
}
2017-02-23
举报