Home » Java Programming » Flow Control

What will be the output of the program? int i = 0; while(1) { if(i == 4) { break; } ++i; } System.out.println("i = " + i);

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!