public class HelloWorld{
public static void main(String[] args) {
final String SEX1="男";
final String SEX2="女";
System.out.println=(SEX1+"/n"+SEX2);
}
}
System.out.println=(SEX1+"/n"+SEX2);
这里不需要=。换行是\n,不是/n
System.out.println(SEX1+"\n"+SEX2);
哦……谢谢