多选题 Given:
3. public class Gauntlet {
4. public static void main(String[] args) {
5. String r = "0";
6. int x = 3, y = 4;
7. boolean test = false;
8. if((x > 2) || (test = true))
9. if((y > 5) || (++x == 4))
10. if((test == true) || (++y == 4))
11. r += "i";
12. else if(y == 5) r += "2";
13. else r += "3";
14. else r += "4";
15. // else r += "5";
16. System.out.println(r);
17. } }
And given that, if necessary you can add line 15 to make the code compile, what is the result? (Choose all that apply.)
【正确答案】 B、C、F
【答案解析】