Home > Java > Loops > Introduction
Introduction

Introduction to Loops

Loop is sometimes classified as iteration statement. A statement repeats until the controlling boolean-expression evaluates to false.


There are 3 types of loops:

 

 

All above three loops let you repeat a block of code as long as some condition is true, or for a specific number of iterations.

Leave a Reply

Fields with * are mandatory.
* Name:
Website:
* Comments:
 
Tags allowed: <strong> <i> <u>
* Code:
 
 
Submit   Cancel