Question 86

Given:

What is the result?
  • Question 87

    Given:

    You want to obtain the Filechannel object on line 1.
    Which code fragment will accomplish this?
    A)

    B)

    C)

    D)
  • Question 88

    Given:

    executed using command:
    java Hello "Hello World" Hello World
    What is the output?
  • Question 89

    Given this enum declaration:

    Examine this code:
    System.out.println(Letter.values()[1]);
    What code should be written at line 5 for this code to print 200?
  • Question 90

    Which code fragment added to line 1 enables the code to compile and print Hello Joe?