怎样定义常量
public class HelloWorld{
public static void main(String[] args) {
final String NAME="imooc wang";
final char MSEX="男";
final char FSEX="女";
System.out.println(NAME +"is" +FSEX+MSEX);
}
}
哪里错了
public class HelloWorld{
public static void main(String[] args) {
final String NAME="imooc wang";
final char MSEX="男";
final char FSEX="女";
System.out.println(NAME +"is" +FSEX+MSEX);
}
}
哪里错了
2016-09-16
举报