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

QWhat will be the result?
1.  int i = 10;
2.  while(i++ <= 10){
3.        i++;
4.  }
5.  System.out.print(i);

ID: #2154 Java Control Flow 1,042 views
Question Info
#2154Q 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 12
  • D 13
Correct Answer

Explanation

13

Share This Question

Challenge a friend or share with your study group.