Programming Language Java Control Flow Question #2140
Single Choice Not Set

QDetermine output:
public class Test{
        public static void main(String args[]){
                int i, j;
                for(i=1, j=0;i<10;i++) j += i;
                System.out.println(i);
        }
}

ID: #2140 Java Control Flow 958 views
Question Info
#2140Q ID
Not SetDifficulty
Java Control FlowTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 10
  • B 11
  • C 9
  • D 20
Correct Answer

Explanation

10

Share This Question

Challenge a friend or share with your study group.