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

how to solve ten bags of sugar weighs 1 kilogram how my grams does each bag weigh
What forms of government does Switzerland have?
3 3/5 divided by 4 What is the answer plz show work
Sometimes savings accounts earn a low rate when the balance is under a certain amount, and earn higher rates when the balance is more than a certain amount. thi
Why did Los Angeles City leaders need to seek water sources outside of the city?
A retailer is considering investing £190,000 in a second store , the probability that sales will be £300,000 is 0.6 and the probability that sales will be £150,
number eight of Hammurabi's code
What two types of verb is venir?
List some short term and long term risk of sexual activity
What is the y- intercept of –3x – 9y = 18? a. 2 b. -2 c. 6 d. -6