Imnotsmartt4967 Imnotsmartt4967
  • 23-08-2019
  • Computers and Technology
contestada

Each array in Java has a public field named ________ that contains the number of elements in the array.

Respuesta :

ExieFansler ExieFansler
  • 27-08-2019

Answer:

length.

Explanation:

length variable determines the size of the array or the number of elements in the array.length variable is a final variable.It is a public field.It is only applicable for array it is not applicable for strings.It is also used to directly access the field member of the array.So we conclude that the answer is length.

Answer Link

Otras preguntas

A pencil measures 14 cm long. How many millimeters long is it?
''Life in a city is more rewarding than life outside a city."List two or three arguments in favor of this opinion and two or three arguments opposing this opini
A pencil measures 14 cm long. How many millimeters long is it?
which of the following represents the most accurate estimation of 38+23
which of the following represents the most accurate estimation of 38+23
A pencil measures 14 cm long. How many millimeters long is it?
why did people immigrate to the United States in the late 1800s?
please explain how to solve this  On Monday,it took Helen 3 hours to do  a page of science homework exercises.The next day she did the same number of exercises
which of the following represents the most accurate estimation of 38+23
please explain how to solve this  On Monday,it took Helen 3 hours to do  a page of science homework exercises.The next day she did the same number of exercises