The correct answer is: B. a member of an array.
An array is a data structure that stores a collection of elements of the same data type. The elements of an array are numbered from 0 to n-1, where n is the number of elements in the array. The name of the array is a reference to the array, and it is not an element of the array. A value assigned to an array is stored in one of the elements of the array.
For example, consider the following array:
int[] myArray = {1, 2, 3};
The name of the array is myArray
. The elements of the array are 1
, 2
, and 3
. The value 1
is stored in the first element of the array, the value 2
is stored in the second element of the array, and the value 3
is stored in the third element of the array.