Question: public static char [ ] [ ] getSquares ( int rows, int columns ) { char [ ] [ ] square = new char [
public static char getSquaresint rows, int columns
char square new charrows columns ;
for int i ; i rows ; i
for int j ; j columns ; j
if i && i && j
squareij;
else if i && j
squareij;
else if i && j
squareij;
else if i && j
squareij;
else
squareij;
return square;
modify this method a bit so that it works the exact same but isnt the same as the mehtod provodied
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
