Is there a goto statement in Java?

I’m confused about this. Most of us have been told that there isn’t any goto statement in Java.

But I found that it is one of the keywords in Java. Where can it be used? If it can not be used, then why was it included in Java as a keyword?

23 Answers
23

Leave a Comment