What is the “continue” keyword and how does it work in Java?

前端 未结 13 1568
温柔的废话
温柔的废话 2020-11-22 11:34

I saw this keyword for the first time and I was wondering if someone could explain to me what it does.

  • What is the continue keyword?
  • How
相关标签:
13条回答
  • 2020-11-22 11:59

    continue must be inside a loop Otherwise it showsThe error below:

    Continue outside the loop

    0 讨论(0)
提交回复
热议问题