Tag Archives: goto

12,094 views

Goto labeled statement in Java example

Goto in for cycle Java example source code. MainClass.java public class MainClass { public static void main(String[] arg) { String[] arrayOfString = {"nothing", "Hello", "people" , "bye-bye", "hello", "world!", "end" };   OuterLoop: for (int i = 0;i<6; i++) { … Continue reading

Posted in Android Examples Code | Tagged , , , , | Comments Off on Goto labeled statement in Java example
2,956 views

The Labeled continue statement Java example

The Labeled continue statement as goto Java example. public class MainClass { public static void main(String[] arg) { String[] arrayOfString = { "Hello", "people", "hello", "world!" }; OuterLoop: for (int e = 0; e < 4; e++) { for (int … Continue reading

Posted in Android Examples Code | Tagged , , , , , | Comments Off on The Labeled continue statement Java example