报错了!unclosed character literal
$ javac HelloWorld.java
HelloWorld.java:4: unclosed character literal
char sex='男';
^
HelloWorld.java:4: illegal character: \8721
char sex='男';
^
HelloWorld.java:4: not a statement
char sex='男';
^
HelloWorld.java:4: unclosed character literal
char sex='男';