Question: How does the `forEach()` method differ from a `for` statement?
- forEach allows you to specify your own iterator, whereas for does not.
- forEach can be used only with strings, whereas for can be used with additional data types.
- forEach can be used only with an array, whereas for can be used with additional data types.
- 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.