Java goto Keyword
Definition and Usage
The goto keyword is reserved in Java, but it is not used. You cannot use it in your code, and you cannot use it as a name for a variable, method or class.
Some other languages use goto to jump to another place in the program. In Java, you control the flow with loops, if statements, and the break and continue keywords instead.
Related Pages
Read more about break and continue in our Java Break and Continue Tutorial.