public class HelloWorld{
public static void main(String[] args) {
final char SEX1="男";
final char SEX2="女";
System.out.println(SEX1);
System.out.println(SEX2);
}
}
char = '男'
字符用单引号 ' '
char 是字符