What is the correct way to iterate over all elements in a Set?
Using a for loop with indexes
for
Using the get(index) method
get(index)
Using a foreach loop
foreach
Using an Iterator