题目内容

阅读下面程序
public class OperatorsAndExpressions {
String conditionalExpression(int score) {
String result;
//如果score超过60分,则结果是passed,否则是doesn't pass
result=(score>=60)?"passed":"doesn't pass":
System.out.println(result);
return result;
}
public static void main(String args[]) {
OperatorsAndExpressions perAndExp=new OperatorsAndExpressions();
//条件表达式
OperAndExp.conditionalExpression(65);
}
}
程序的执行结果是______。

查看答案
更多问题

When will Marketing students get their student cards?

Honey was once used by______to treat battle wounds.

听力原文:男:你的帽子真漂亮,在哪儿买的?
女:我也不知道,是我奶奶送给我的生日礼物。
(10)

可以啊。外面还下雨吗? ()

答案查题题库