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

During the 1840s Americans used the idea of manifest destiny to justify the what?1. Expansion of women's rights2. Aquairing of new territory3. Beginning of free
Which sentence does not contain any punctuation errors?   A. Abe has lived in London, England; Cairo, Egypt; and Zurich, Sw
Order this starting from the smallest:15.249         15.3         15.05          15.009         15.25
Which of the following expressions is written in scientific notation?a)73.4*10^5b)0.09*10^7c)80*10^3d)4.22*10^(–3)what is exactly scientific notation?
can anyone explain how to solve this 5(6-2)^2-5
how many pints are in 445 ounces
If the standard kilogram bar kept in Paris were subjected to a net force of 1 newton, what acceleration would it have as a result?
What are the behavioral adaptations of a tiger?
What form of energy provides power for a gas stove?A.nuclear energyB.electrical energyC.chemical energyD.sound energyCan you explain the answer for me ?
How does altitude affect air temperature?