I'm a beginner and I have a question on how loops work. Is there a type of loop where you can finish one loop then execute another loop after the first one is completely finished 

```
for(int i = 0; i>array.length; i++) // Do this loop first
 {  
       Execute code
           .
           .
           .
 }

for(int i = 0; i>array.length; i++)  //Wait for the first one to finish now do this
 {  
       Execute code
           .
           .
           .
 }

```