The constructs for(), foreach(), and each() can all be used to iterate an object ifthe object …
A . implements Array Access
B . implements Iterator
C . implements Iterator and ArrayAccess
D . None of the above
Answer: C
The constructs for(), foreach(), and each() can all be used to iterate an object ifthe object …
A . implements Array Access
B . implements Iterator
C . implements Iterator and ArrayAccess
D . None of the above
Answer: C