请问为什么无法输出
public class HelloWorld{
public static void main(String[] args) {
final String MAN="男";
final String FEMAN="女";
System.out.println=("张三的性别":MAN);
System.out.println=("小红的性别"FEMAN);
}
}
public class HelloWorld{
public static void main(String[] args) {
final String MAN="男";
final String FEMAN="女";
System.out.println=("张三的性别":MAN);
System.out.println=("小红的性别"FEMAN);
}
}
2015-08-15
举报