Tag Archives: while

2,599 views

While cycle loop in Java example

While cycle Java basic example with array of strings. MainClass.java public class MainClass { public static void main(String[] arg) { String[] arrayOfString = { "Hello", "people", "hello", "world!" }; int i = 0; while ( i < arrayOfString.length ){ System.out.println(arrayOfString[i]); … Continue reading

Posted in Android Examples Code | Tagged , , , , , | Comments Off on While cycle loop in Java example