Sunday 28 August 2016

Java loops

Loops:
1. do while
2. while
3. for
4. for each

Tip :
For every loop requires three things:
        - initialization             -  assignment operation
- condition                   should be boolean type
        - increment/decrement