public class HelloWorld{
public static void main(String[] args) {
final char A='男';
final char B='女';
System.out.println=(A);
System.out.println=(B);
}
谢谢,以前学的都要忘了
System.out.println(A);
System.out.println(B);