DEVFYI - Developer Resource - FYI

For which statements does it make sense to use a label?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

265. For which statements does it make sense to use a label?

The only statements for which it makes sense to use a label are those statements that can enclose a break or continue statement.

(Continued on next question...)

Other Interview Questions