Assume that chessboard has been declared to be a two-dimensional array of strings. Write a statement that instantiates an 8×8 array of strings and assign it to chessboard.

LANGUAGE: JAVA

CHALLENGE:

Assume that chessboard has been declared to be a two-dimensional array of strings. Write a statement that instantiates an 8×8 array of strings and assign it to chessboard.

SOLUTION:

chessboard = new String[8][8];