public class HelloWorld{
public static void main(String[] args) {
final char AAA='男';
final char BBB='女';
System.out.println=(AAA);
System.out.println=(BBB);
}
System.out.println(AAA);不是System.out.println=(AAA);没有等号的
等于去掉就好了