问答详情
源自:2-11 Java常量的应用

为啥就不对呢

public class HelloWorld{    public static void main(String[] args) { final String MALE="男"; final String FEMALE="女"; System.out.println=(MALE); System.out.println=(FEMAL 按着标准答案写的,符号也是英文的,怎么就不对呢

提问者:qq_S_134 2017-08-08 17:40

个回答

  • qq_S_134
    2017-08-09 09:04:34

    哦哦,懂了

  • 方小伯
    2017-08-08 17:49:32

    public class HelloWorld {

    public static void main(String[] args) {

    final String MALE = "男";

    final String FEMALE = "女";

    System.out.println(MALE);

    System.out.println(FEMALE);

    }

    }