Question 31

Given:

What is the result?
  • Question 32

    Which three initialization statements are correct? (Choose three.)
  • Question 33

    Given:

    What is true?
  • Question 34

    Assuming the Widget class has a getPrice method, this code does not compile:

    Which two statements, independently, would allow this code to compile? (Choose two.)
  • Question 35

    Given the code fragment:
    Path source = Paths.get("/repo/a/a.txt");
    Path destination = Paths.get("/repo");
    Files.move(source, destination); // line 1
    Files.delete (source); // line 2
    Assuming the source file and destination folder exist, what Is the result?