what do you mean by array in computer java
Answers
Answered by
2
An array, in the context of Java, is a dynamically-created object that serves as a container to hold constant number of values of the same type. By declaring an array, memory space is allocated for values of a particular type. ... An array element that is also an array is known as a subarray.
Answered by
1
Answer:
Java array is an object which contains elements of a similar data type
Explanation:
Additionally, The elements of an array are stored in a contiguous memory location. It is a data structure where we store similar elements. We can store only a fixed set of elements in a Java array.
Similar questions