Java SE 8 Programmer II (1Z0-809)

© examsiri.com
Question : 8 of 8
 
Marks: +1, -0
Given the code fragment:public class TestFun {
public static void main(String[] args) {
List nums = Arrays.asList(1,2,3,4,5);
/* Line n1*/
}
}
Which code fragment can be inserted at Line n1 to enable the code to print 2 4?
Go to Question: