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

allie is making 8 dozen chocolate chip muffins and the recipe she is using calls for 16 ounce of chocolate chips for 3 dozen how many ounces does she need for
y=5x-8. what is the input whne the output is 12?
y=5x-8. what is the input whne the output is 12?
Romeo and Juliet - Act V Scene iii How does Romeo’s response upon learning of Juliet’s death reinforce the belief in fortune and fate?
Find the circumference of a circle with the diameter of 13.6 feet
y=5x-8. what is the input whne the output is 12?
What is an analogy to a farm for chromatin of an animal cell?
What is a radius of a circle
The quotient is 71 2/3. What is the divisor?
Simplify the radical 72