Menu
×
×
正确
int time = 20;
String result = @(1)time < 18@(1) @(1) "Good day." @(1) "Good evening.";
System.out.println(result);
int time = 20;
String result = (time < 18) ? "Good day." : "Good evening.";
System.out.println(result);
不正确
点击 此处 重试 正确
下一题 ❯int time = 20; String result =w3exercise_input_no_0time < 18w3exercise_input_no_1w3exercise_input_no_2"Good day."w3exercise_input_no_3"Good evening."; System.out.println(result); |