What does the colon mean in Java? I have this:
public static List findAllAnagrams(List words) { List result =
(String i : words)
For each item in words
words
: to indicate iterator item and item as i
i
so to answer - it represents for-each loop