问答详情
源自: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(FEMALE);


提问者:仔仔3850415 2016-09-01 15:01

个回答

  • 慕侠5503974
    2016-09-01 15:08:04
    已采纳

    public class HelloWorld{

        public static void main(String[] args) {

        final String MALE="男";

        final String FEMALE="女";

        System.out.println(MALE);

        System.out.println(FEMALE);

        }

    }


  • 慕粉1464325156
    2016-09-05 11:15:18

    PrintWriter out=response.getWrite();

    System.out.println("this is So easy!");