Start learning →

When is the condition tested during execution of a Java while loop?

ABefore each iteration
BAfter each iteration
COnly on initial entry
DOnly on loop exit
Answer & Solution
Correct answer: A. Before each iteration
In a while loop, the condition is evaluated before each iteration.
Practise this question with Quill — ICSE Class 10 →

Keep practising Classes, Encapsulation and Scope

Browse all Classes, Encapsulation and Scope questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Classes, Encapsulation and Scope lesson →