Computer Science, asked by anjuhemant502, 6 months ago

what is nested loop in java?​

Answers

Answered by swayamkumarisbest
0

Answer:

beat skip with errors in program

Answered by sangeetabhanwar
0

Answer:

A nested loop is a (inner) loop that appears in the loop body of another (outer) loop. The inner or outer loop can be any type: while, do while, or for. For example, the inner loop can be a while loop while an outer loop can be a for loop. Of course, they can be the same kind of loops too.

Nested loop means a loop statement inside another loop statement. That is why nested loops are also called as “loop inside loop“. Syntax for Nested Do-While loop: do{ do{ // statement of inside loop }while(condition); // statement of outer loop }while(condition);

Similar questions