While loop - Java Basics

Important Suggestions

The while loop in Java shared with many other programming languages is one of the three primary ways of looping through information in Java. The specialty with while loops are their ability to loop through inforamtion infintaley until a signal is triggered telling to the loop to stop looping.


No matter the cirumstances, a while loop will always loop through once granted the initial test is met. The while loop in my opinion is the second most used loop, I chose the while loop when looping through an unknown amount of information.


You need to log into your account to post comments!Sign In