Card 3 / 32: class Foozit { public static void main(String[] args) { Integer x = 0; Integer y = 0; for(Short z = 0; z < 5; z++) if((++x > 2) || (++y > 2)) x++; System.out.println(x + " " + y); } }
A)
6 3
B)
4 2
C)
8 4
D)
8 2
Answer:
D) 8 2
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|