+91-85006-22255
What will be the output of the following program?
class PrintFormat { public static void main(String[] args) { for (int i = 0; i < 5; i++) { for (int j = 5; j >= i; j--) { System.out.print(j); } System.out.println(); } }}
Topic: Nested for Loop In Java
Read this topic Take test on this topic
Open In App