Which of these best describes an array?
Answer: B
Correct answer: Container of objects of similar types
An array is a container holding a fixed number of values of a single type, laid out in consecutive memory. A hierarchy describes a tree, not an array; an array’s elements can be reassigned after initialisation, so it is not immutable; and it is very much a data structure - the most basic one there is.
Please log in or register to report this question.