Java Reference
In-Depth Information
}
System.out.print( a );
System.out.print("\n");
}
}
}
This would produce the following result:
10
20
30
50
When the value of a is equal to 40, the continue statement executes which transfers the
control at the beginning of loop without printing the value of a equal to 40.
Search WWH ::




Custom Search