yesman1866 yesman1866
  • 19-07-2019
  • Computers and Technology
contestada

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


What is the value of array1.length?
0
2
10
15

Respuesta :

ExieFansler ExieFansler
  • 24-07-2019

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.

Answer Link

Otras preguntas

The primary building blocks of a DNA molecule are (A) nitrogenous bases, phosphates, and ribose sugar. (B) nitrogenous bases, phosphates, and deoxyribose sugar.
What is the climax for the Egypt game?
How do u write 32/100 in expanded form
How do u write 32/100 in expanded form
At a refinery, 100,000 tons of sand are required to produce each 60,000 barrels of a tarry material. How many tons of sand are required to produce 3,000 barrels
55% of what number is 25
I'm trying to find out is 0.2 less than 2
In the sentence what is the cause and effect Amy broke her arm whaen she fell out of the treehouse.
3x+2y=11 7x-y=3 systems of linear equations
examine how photosynthetic prokaryotic cells changed the atmosphere of early Earth