Question: What does the following program do? public class Printing { public static void main(String[] args) { for (int i = 1; i
What does the following program do?
public class Printing { public static void main(String[] args) { for (int i = 1; i <= 10; i++) { for (int j = 1; j <= 5; j++) { System.out.print('@'); } System.out.println(); } } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
