If the for loop exists inside the its body another for loop, it is known as nested for loop in Java language- Nested for in Java programming language