请问哪里错了,提示错误
public class HelloWorld{
public static void main(String[] args) {
int score=68;
String mark =(score>=60)?"及格":"不及格";
System.out.println("考试成绩如何:"+mark);
}
}
public class HelloWorld{
public static void main(String[] args) {
int score=68;
String mark =(score>=60)?"及格":"不及格";
System.out.println("考试成绩如何:"+mark);
}
}
2017-02-22
举报