Home > Java > Loops > While Loop > Definitions
Definitions

Top 10 While Loop Definitions

1
In most computer programming languages, a while loop is a control flow statement that allows code to be executed repeatedly based on a given boolean condition. The while loop can be thought of as a repeating if statement.   The while construct consists of a block of code and a condition. The condition is evaluated, and if the condition is true, the code within the block is executed. This repeats until the condition becomes false. Because while loops check the condition before the block is executed, the control structure is often also known as a pre-test loop.
Author:
Wikipedia
Source:
Type:
Website

Rating: 0.0/5 (0 votes cast)

Favorite
2
The while statement continually executes a block of statements while a particular condition is true.
Author:
java.sun.com
Source:
Type:
Website

Rating: 0.0/5 (0 votes cast)

Favorite
3
A Java while loop is a looping construct which continually executes a block of statements while a condition remains true.
Author:
techFAQ
Source:
Type:
Website

Rating: 0.0/5 (0 votes cast)

Favorite
4
The while statement is used to repeat a block of statements while some condition is true. The condition must become false somewhere in the loop, otherwise it will never terminate.
Author:
leepoint.net
Source:
Type:
Website

Rating: 0.0/5 (0 votes cast)

Favorite
5
Loop is the control statement of any language in which whenever you want to perform the repetitious work then you use the Loop control statement. There are mainly three types of loops. Loop repeats a statement or a process multiple times according to the specified conditions. It allows the multiple statements or process to be run for the specified time or it also follows the certain conditions. Loop makes your program readable, flexible and reliable.While loop: While loop checks the certain condition first, if the condition is true then all the statements or processes written under the while loop are executed otherwise ignored all.
Author:
roseindia.net
Source:
Type:
Website

Rating: 0.0/5 (0 votes cast)

Favorite
6
The while loop repeats a statement for as long as a particular condition remains true.
Author:
Bruce Eckel
Source:
Type:
Book

Rating: 0.0/5 (0 votes cast)

Favorite
7
The while loop is Java's most fundamental looping statement. It repeats a statement or block while its controlling expression is true.
Author:
Patrick Naughton and Herbert Schildt
Source:
Type:
Book

Rating: 0.0/5 (0 votes cast)

Favorite