Originally posted by payal sharma:
//When it break the loop and reach to point why it do not came again in
loop ?
Hi, Payal,
point is just a label for your for loop. It's not a label that you "goto" since
Java doesn't allow gotos. When you say "break point;" you're telling the program to break out of the loop labeled as point. This is very handy when you have complex nested loops and want to break out of multiple layers of for loops at one time. You could also say "continue point;" In your example there's no need for the label as the label becomes useful with more than one block construct.
April