Home » Java Programming » Flow Control

What will be the output of the program? int x = l, y = 6; while (y--) { x++; } System.out.println("x = " + x +" y = " + y);

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!