1z0-808 Exam Question 187

Given the code fragments:

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

    Given:
    class X {
    static void m (int[] i) {
    i[0] += 7;
    }
    public static void main (String[] args) {
    int[] j = new int[1];
    j[0] = 12;
    m(j);
    System.out.println(j[0]);
    }
    }
    What is the result?
  • 1z0-808 Exam Question 189

    Given the code fragment:

    Which option represents the state of the num array after successful completion of the outer loop?
    A:

    B:

    C:

    D:
  • 1z0-808 Exam Question 190

    Given:

    And given the code fragment:

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

    Given:

    Which two classes use the shape class correctly?