Exam-style question
Try this first
Which of the following is true about arrays?.
- A.They can only hold numbers
- B.They can hold multiple data types
- C.They are always one-dimensional
- D.They cannot be resized
Answer and explanation
Concise answer
They can hold multiple data types
Why this is correct
Arrays can store different types of data depending on the programming language.
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.
