Posts

Showing posts with the label Loop

Loop control in Java

Loops are used for execute a statement or a group of statement more than one times . Loops are 1. while loop :                                  Execute a statement or group of statement depend on condition .      If condition is true . Let's see an example                         public class LoopControl                           {                              public void whileloop()                    ...