Question: Write a program named CheckerBoard.java. The checkerboard class will create and display a checkerboard using a two-dimensional array. The first dimension will be the X
Write a program named CheckerBoard.java. The checkerboard class will create and display a checkerboard using a two-dimensional array. The first dimension will be the X axis and the second dimension will be the Y axis. Display the board to the console by printing the letters B and W every other one, indicating black and white locations on the board. Below is an example of the expected output(ONLY THE LETTERS NOT ACTUAL COLORS):
B W B W B W B W
W B W B W B W B
B W B W B W B W
W B W B W B W B
B W B W B W B W
W B W B W B W B
B W B W B W B W
W B W B W B W B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
