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 an Iterator
Using a foreach loop
foreach