0
Why is first: used in this code ? What does it mean? Is it a keyword or so ? Explain its usage
2 odpowiedzi
+ 5
Since "goto" is a java keyword but yet it is not implemented in Java, so there must be something to replace it.
This is kind of an example for that. The first: is a label and when you say continue first; the control is moved back to the label and execution starts from the top.
Edit: You can remove the label to see the difference in result you get.