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