代码报错8行,大神看看代码本身有没错误?
public class HelloWorld{
public static void main(String[] args) {
final String NAME="廖";
final char SEX="男";
System.out.println("我的姓名"NAME);
System.out.println("性别:"SEX);
}
}
public class HelloWorld{
public static void main(String[] args) {
final String NAME="廖";
final char SEX="男";
System.out.println("我的姓名"NAME);
System.out.println("性别:"SEX);
}
}
2018-03-05
举报