Question 101

Given:

executed with this command:
java Main one two three
What is the output of this class?
  • Question 102

    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 103

    Given:

    Which action must you perform to print Verified?
  • Question 104

    Given:

    What is the result?
  • Question 105

    You replace the code on line 1 to use ParallelStream.

    Which one is correct?