Question 36

Given:

What is the result?
  • Question 37

    You are asked to create a method that accepts an array of integers and returns the highest value from that array.
    Given the code fragment:

    Which method signature do you use at line n1?
  • Question 38

    You are asked to create a method that accepts an array of integers and returns the highest value from that array.
    Given the code fragment:

    Which method signature do you use at line n1?
  • Question 39

    Given:

    And the code fragment:

    Which code fragment, when inserted at line 14, enables the code to print Mike Found?
    A:

    B:

    C:

    D:
  • Question 40

    Given the code fragment:
    int b = 3; if ( !(b > 3)) {
    System.out.println("square ");
    }{
    System.out.println("circle ");
    }
    System.out.println("...");
    What is the result?