Continue Statement in Java

      


Continue Statement in Java:

Continue Statement in Java #DarkHers #darkhers #program #coding #code #java #bhfyp #youtubeshorts - YouTube ________________________________________________

package Test;


public class ContinueStatement

{

public static void main(String[] args)

{

int i = 0;

while(i<10) {

if(i==4) {

i++;

continue;

}

System.out.println(i);

i++;

}

}


}

________________________________________________

Dark Hers

https://darkhers.blogspot.com

YouTube

https://youtube.com/@darkhers

Instagram

https://instagram.com/darkhers

Facebook

https://www.facebook.com/darkhers

TikTok

https://www.tiktok.com/@darkhers

Pinterest

https://www.pinterest.co.uk/darkhers

Twitter

https://twitter.com/Dark_Hers

Comments

Popular Posts