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