Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!