Latest News

 










Labeled blocks and branching

Previous slide Next slide Back to first slide View graphic version


Labeled blocks and branching


 
My other sites

Latest News

 










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