Exam-style question
Try this first
What type of data can an array hold?.
- A.Only integers
- B.Only strings
- C.Multiple values of the same type
- D.Any data type
Answer and explanation
Concise answer
Multiple values of the same type
Why this is correct
Arrays are designed to hold multiple values of the same data type, such as integers or strings.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
