(Choose 2 answers)
Given the following:
List<String> names = new ArrayList<String>();
Which of the following statements are legal? (Select two)
A. Iterator<String> iter = names.iterator();
B. for (String s:names)
C. while (String s:names)
D. int sizes = names.getSize();