English

The while statement repeats the execution of a block only when the given condition is: - Computer Applications

Advertisements
Advertisements

Question

The while statement repeats the execution of a block only when the given condition is: 

Options

  • False

  • True

  • 1

  • 0

MCQ

Solution

True

Explanation:

The while loop in programming continues running its block of code as long as the condition is true. The loop ends when the condition is no longer true.

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.09: Iterative Constructs in Java - EXERCISES [Page 122]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.09 Iterative Constructs in Java
EXERCISES | Q I. 4. | Page 122
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×