Question 96

Given:

What is the result?
  • Question 97

    Given:

    What is the result?
  • Question 98

    Given the code fragment:

    What is the result?
  • Question 99

    Given the code fragment:

    Which two code fragments can be independently inserted at line n1 to enable the code to print the elements of the array in reverse order? (Choose two.) A:

    B:

    C:

    D:

    E:
  • Question 100

    A method doSomething () that has no exception handling code is modified to trail a method that throws a checked exception. Which two modifications, made independently, will allow the program to compile?