Nested loops can be difficult to visualize and are easily misunderstood.

Here is a presentation that uses the Step function in the Debug mode of jGRASP to show you exactly how 3 nested loops interact.

Click here