Is there a goto statement in Java?

前端 未结 23 2338
醉酒成梦
醉酒成梦 2020-11-22 04:50

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

23条回答
  •  天涯浪人
    2020-11-22 05:39

    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html

    "The keywords const and goto are reserved, even though they are not currently used. "

提交回复
热议问题