编码里的及格不及格应该怎么修改一下
public class HelloWorld{
public static void main(String[] args) {
int score=68;
String mark =(score>=60)?及格;不及格;
System.out.println("考试成绩如何:"+mark);
}
}
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error on token "Invalid Character", invalid (
及格 cannot be resolved to a variable
不及格 cannot be resolved to a variable
at com.imooc.bianliang.main(bianliang.java:6)
应该怎么修改呢