Professional Documents
Culture Documents
While Loop 2
While Loop 2
int i = 0;
while (i < 5) {
System.out.println("Learning Java is tricky but
fun too.");
System.out.println("i = " + i);
i++;
}}