Question: Please solve the following using JAVA Q5: What does the following program do? 1 // Exercise: Printing.java 2 public class Printing { 3 public static
Please solve the following using JAVA
Q5: What does the following program do?
1 // Exercise: Printing.java
2 public class Printing {
3 public static void main(String[] args) {
4 for (int i = 1; i <= 10; i++) {
5 for (int j = 1; j <= 5; j++) {
6 System.out.print('@');
7 }
8
9 System.out.println();
10 }
11 }
12 }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
