Multiple choice

You can iterate instances of the class by using which of the following language constructs?

  1. Assignment operator

  2. foreach()

  3. _destructor()

  4. unset()

  5. list()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

You can iterate instances of the class by using this language construct.