Java Programming
Accenture PrimermediumJava Programming1. Introduction To Java

What value is stored in i at the end of this loop? for(int i =1;i<=10;i++)

Answer options

A
10
B
11
C
9
D
1 The program control will exit the for loop only when the condition specified in the for loop has faile

Correct answer: 11

Explanation

Correct answer: 11.

Related Accenture Java Programming questions

Practice more Accenture Java Programming questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.