2D Array Lab Activity

Try writing a simple program ArrayOfStars.java that uses a 2D (two-dimensional) array to store and print a box of stars (asterisks):

Sample program output:

Input number or rows:
3
Input number of columns:
5

*****
*   *
*****