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

what is 7p-(-5)+(-1)
Solve for y 3x + 1/5y = 7
Which of the following is the main difference between science and pseudoscience? answers - Pseudoscience does not follow the scientific method, and science doe
Explain why science is a continuous profession of study.
What was the purpose of a settlement house?
A sandbox has the area of 26 square feet and the length is 5 1/2 feet what is the width of the sandbox
The Lopez family and the Russell family each used their sprinklers last summer. The water output rate for the Lopez family's sprinkler was 15 L per hour. The w
which term best describes the substances that cause oil and water molecules in salad dressing to interact and mix
please help. four ways of making a network of five capacitors of the same value are shown here. three out of four are identical. the one which is different is
There are several hazards associated with the chemicals in the qualitative analysis experiment. for each chemical, identify the associated hazards. (select all