Home » Java Programming » Language Fundamentals

What will be the output of the program? public class Test { public static void main(String [] args) { signed int x = 10; for (int y=0; y<5; y++, x--) System.out.print(x + ", "); } }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!