Labeled blocks and branching
There is no 'goto' statements in Java, instead we have labeling.
a: {
b: {
if (t)
break a; // labeled break
else
continue b; // labeled continue
} // end of block b
} // end of block a
Previous slide
Next slide
Back to first slide
View graphic version