Java SE 8 Programmer 1Z0–808 Practice Full Test 1
© examsiri.com
Question : 84 of 84
Marks:
+1,
-0
Given the code fragment:
What is the result?
13. List colors = new ArrayList();
14. colors.add("green");
15. colors.add("red");
16. colors.add("blue") ;
17. colors.add("yellow");
18. colors.remove(2) ;
19. colors.add(3, "cyan");
20. System.out.print(colors) ;What is the result?
Go to Question: