If we're finding the first item in a list that meets some criteria, which loop would be the best choice?

Both types of loop can be used, provided the return statement is inside the body of the loop.
  • For-each loop with a return in the body of the loop.
  • For-each loop that only returns after the loop runs.
  • Counter controlled loop that only returns after the loop runs.
  • Counter controlled loop with a return in the body of the loop.
  • Both types of loop can be used, provided the return statement is outside the body of the loop.

There are no hints for this question