National_Instruments
200-500 · Question #182
200-500 Question #182: Real Exam Question with Answer & Explanation
The correct answer is C. implements Iterator and ArrayAccess. See the full explanation below for the reasoning.
Question
The constructs for(), foreach(), and each() can all be used to iterate an object if the object
Options
- Aimplements ArrayAccess
- Bimplements Iterator
- Cimplements Iterator and ArrayAccess
- DNone of the above
Community Discussion
No community discussion yet for this question.