Java examples for Language Basics:for
What does the following program do?
public class Main { public static void main(String[] args) {// ww w . j av a 2 s .c o m for (int i = 1; i <= 10; i++) { for (int j = 1; j <= 5; j++) System.out.print('@'); System.out.println(); } } }