codeGK
Code it ALL
Continue in Java - CodeGK

♦ Continue in Java

♣ Example4: Continue in Java

In this example, Loop is Continued when "cherry" is encountered.
Example
Input:
Output:
For_loop