Discover a world of knowledge at Westonci.ca, where experts and enthusiasts come together to answer your questions. Our platform provides a seamless experience for finding reliable answers from a knowledgeable network of professionals. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

Why is it necessary to declare an array in Java? Choose the best answer.
It tells the computer to begin calculating the values.
It tells the computer the beginning address in memory.
It tells the computer about the new variable name,
It tells the computer to locate the value in the array.


Sagot :

Importance of array in Java

Following are some important points about Java arrays. Since arrays are objects in Java, we can find their length using the object property length. Java array can be also be used as a static field, a local variable or a method parameter. The size of an array must be specified by an int or short value and not long.

Answer:

It tells the computer to begin calculating the values

Explanation: