This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
~ Pratibha Malhotra<br /> <br />Sun Certified Java Programmer<br />SCEA 1.4 (In Progress)<br />~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />"Many of life's failures are people who did not realize how close they were to success when they gave up!!"
Ok, so now that you've learned what a label is, please forget about it and don't use it in your own code ever again...
You don't need this construction, it makes code hard to read and follow. A label and a break statement to jump to the label are more or less like a "goto" statement, the statement that quickly makes programs a messy jumble (spaghetti code).