In: Computer Science
1. Declare a two-dimensional array of Strings named chessboard.
2. Declare a two-dimensional array of integers named tictactoe.
3. Declare and create a two-dimensional array of chars,tictactoe, with 3 rows, each with 3 elements.
4. Create a two-dimensional array of ints, plan, with 2 rows, and and 3 columns and initialize the first row to 8, 20, 50 and the second row to 12, 30, 75. Use member initializer syntax.
1.
String[][] chessboard;
2.
int[][] tictactoe;
3.
char[][] tictactoe = {
{' ',' ',' '},
{' ',' ',' '},
{' ',' ',' '},
};
4.
int[][] plan = {
{8,20,50},
{12,30,75},
};