多选题
Given:
3. public class Fortran {
4. static int bump(int i) {return i + 2; }
5. public static void main(String[] args)
6. for(int x = 0; x < 5; bump(x))
7. System.out.print(x + " ");
8. } }
What is the result?
A、
2 4
B、
0 2 4
C、
2 4 6
D、
0 2 4 6
E、
Compilation fails.
F、
Some other result occurs.
【正确答案】
F
【答案解析】
提交答案
关闭