I just need to know what happens in nested loops, not that particular program, I mean if a loop loops something 10 times and a loop outside it loops 5 times does this mean that the inside is looped...
Type: Posts; User: javapol
I just need to know what happens in nested loops, not that particular program, I mean if a loop loops something 10 times and a loop outside it loops 5 times does this mean that the inside is looped...
Thats it now,
Sorry wrong code, edited now.
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
I can't understand how these 'nested' loops work. Can anyone try explain to me in the most simplest form why they are needed and how they work?
public static void main(String[] args)
{
...