Card 7 / 13: public class Program70 { public static void main(String[] args) { for (int ii=0;ii<4;ii++){ System.out.println("ii="+ii); ii = ii+1; } } }
A)
ii=0 ii=2
B)
ii = 0 ii = 1 ii = 2 ii = 3
C)
ii =
D)
Compilation fails.
Answer:
A) ii=0 ii=2
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|