Is there a goto statement in Java?

前端 未结 23 2332
醉酒成梦
醉酒成梦 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:44

    Of course it is keyword, but it is not used on level of source code.

    But if you use jasmin or other lower level language, which is transformed to bytecode, then "goto" is there

提交回复
热议问题