What type of collection is an array in computer science?
- Elements of same type
- Different data types
- Random hash buckets
- Unordered linked nodes
Show answer and solution
Correct answer: A. Elements of same type
An array is a linear collection of elements sharing the same data type.