Ask Question
5 February, 18:18

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

+1
Answers (1)
  1. 5 February, 18:30
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers