You can only use labeled continue to continue to loops not if conditions or general blocks with labels but this doesn't apply for break. These excerpts from the JLS might help
A continue statement with label Identifier attempts to transfer control to the enclosing labeled statement that has the same Identifier as its label; that statement, which is called the continue target, then immediately ends the current iteration and begins a new one. The continue target must be a while, do, or for statement or a compile-time error occurs.
Nitish Bangera wrote:labelled break can be used for any code block but the necessary requirement is it should break the codeblock with that label. labelled continue can only be used for loops with the same label.
Thank you for clearing, Nitish and Ankit, got it 8)
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...