Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Can the elements in the collection be modified within the foreach loop?
No, modifying the collection will disrupt the iteration.
Yes, without any restrictions.
Yes, but only if the collection is an array.
No, modifying the collection will result in an error.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!