1Z0-808 Web TestEngine demo

Exit VCEDump 1Z0-808 Java SE 8 Programmer I
Question 37 of 58
0% complete
Q37 Single choice

Given the code fragment:

List colors = new ArrayList();

colors.add("green");

colors.add("red");

colors.add("blue");

colors.add("yellow");

colors.remove(2);

colors.add(3,"cyan");

System.out.print(colors);

What is the result?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in