+ 13

How many ways i can iterate over a HashSet in java?

i have: Set<String> mySet = new HashSet<>(); mySet.add("Car"); mySet.add("Ship"); mySet.add("Airplane"); How many ways i can iterate over it, also include the eg?

17th Mar 2019, 4:58 AM
AROHI
2 odpowiedzi
+ 11
Serena Yvonne Okay i got it 😘 I'll call Serena then.
17th Mar 2019, 9:31 AM
AROHI
+ 9
Serena Yvonne Thank you so much ma'am.
17th Mar 2019, 9:19 AM
AROHI