1z0-808 Exam Question 71

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?
  • 1z0-808 Exam Question 72

    Given the code fragment:

    What is the result?
  • 1z0-808 Exam Question 73

    Given the code fragments:

    Which code fragment, when inserted at line n1, enables the code to print Hank?
  • 1z0-808 Exam Question 74

    Given the definitions of the MyString class and the Test class:

    What is the result?
  • 1z0-808 Exam Question 75

    Given the following class: And given the following main method, located in another class:


    Which three lines, when inserted independently at line n1, cause the program to print a o balance?