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

A 2-inch-wide frame is to be built around theregular decagonal window shown. At what angles a and bshould the corners of each piece be cut?
I'm having trouble with this:12b+3=-2b-4          I have to simplify the problem
At Video Shack, movie rentals cost $3.99 each. the cost of renting three movies and one video game is $0.11 less than the cost of renting five video games. how
why is mercury usually hard to see without a telescope?
8 - 3 ( p - 4 ) = 2p
what is 27/2 divided by 9/4
compare and contrast an electric generator and a battery??
why was the constantinople so important?
compare and contrast an electric generator and a battery??
I'm having trouble with this:12b+3=-2b-4          I have to simplify the problem