The document contains a Java program that prints a square pattern of asterisks. It uses nested loops to print 5 rows and 5 columns of asterisks. The output of the program is five lines of five asterisks each.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
9 views2 pages
Java Program for Star Pattern Output
The document contains a Java program that prints a square pattern of asterisks. It uses nested loops to print 5 rows and 5 columns of asterisks. The output of the program is five lines of five asterisks each.