Ask Question
2 July, 08:57

Char[][] array1 = new char[15][10];

What is the value of array1. length?

0

2

10

15

+5
Answers (1)
  1. 2 July, 11:27
    0
    Answer:The answer to this question is 15

    Explanation:

    array1. length contains the number of rows. Since a 2-D array is a 1-D array of 1-D arrays. So the value of array1. length will be 15 and the value of array1[0]. length will be 10 that is the number of columns. So we conclude that the answer is 15 that is the number of the rows.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Char[][] array1 = new char[15][10]; What is the value of array1. length? 0 2 10 15 ...” 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