Question: How does the `forEach()` method differ from a `for` statement?

  1. forEach allows you to specify your own iterator, whereas for does not.
  2. forEach can be used only with strings, whereas for can be used with additional data types.
  3. forEach can be used only with an array, whereas for can be used with additional data types.
  4. for loops can be nested; whereas forEach loops cannot.

Answer: The correct answer of the above question is Option C:forEach can be used only with an array, whereas for can be used with additional data types.