Ask Question
28 March, 15:03

Write the line that declares a two-dimensional array of strings named chessboard. that is, how would i declare a two-dimension array of strings that is called chessboard? you would declare a string array by

+4
Answers (1)
  1. 28 March, 17:59
    0
    String chessboard[][]=new String[6][6];

    Explanation:

    This is the declaration of a string 2-D array in java.

    String is the data type of the variable.

    chessboard is the name of the variable.

    6 is the size of the 2-D array.

    new is the keyword for allocating space to array.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write the line that declares a two-dimensional array of strings named chessboard. that is, how would i declare a two-dimension array of ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers