Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Hisham Younis   on Jul 01 In Java Category.

  
Question Answered By: Jonathan Brown   on Jul 01

call a method  in the outer for loop and put the rest of the loops in
that method.
then you just return from the new method if the inner if statement
evaluates true
so:
for
{
dooloop(...)

void dooloop(...)
{

for
{
if
{
for
{
if
return

}

Share: