public class Java_Break_continue { public static void main(String argv[]) { char [] c = {'J','a','v','a','*'}; String str[] = {"continue","break","statement","example"}; char c_1 = c[4]; byte i = 0; do{ System.out.print(" " + c[i]); i++; if(c[i] == c_1) break; else continue; }while(c.length > i); System.out.println(" "); for(int j = 0; j < str.length; j++){ System.out.print(str[j] + " "); if(j < str.length) continue; // from here the program control is returned back System.out.println("woooooooooooooooooo"); } } }