Ask Question
17 November, 02:06

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

What is the value of array1. length?

0

2

10

15

+5
Answers (1)
  1. 17 November, 02:20
    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?
Find an answer to your question ✅ “Char[][] array1 = new char[15][10]; What is the value of array1. length? 0 2 10 15 ...” 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