1z1-808 Exam Question 111

Given the code fragments:

Which modification enables the code to compile?
  • 1z1-808 Exam Question 112

    Given the code fragment:
    for (int ii = 0; ii < 3;ii++) {
    int count = 0;
    for (int jj = 3; jj > 0; jj--) {
    if (ii == jj) {
    ++count;
    break;
    }
    }
    System.out.print(count);
    continue;
    }
    What is the result?
  • 1z1-808 Exam Question 113

    Given:

    Which code fragment, when inserted at line 7, enables the code print true?
  • 1z1-808 Exam Question 114

    Given the code fragment:

    Which two modifications should you make so that the code compiles successfully? (Choose two.)
  • 1z1-808 Exam Question 115

    Given the following code for the classes MyException and Test:

    What is the result?