Question 21

Given the code fragment:

What is the result?
  • Question 22

    Given:
    jdeps -jdkinternals C:\workspace4\SimpleSecurity\jar\classes.jar
    Which describes the expected output?
  • Question 23

    Given TripleThis.java:

    Compiling TripleThis.java gives this compiler warning:
    Note: TripleThis.java uses unchecked or unsafe operations.
    Which two replacements done together remove this compiler warning?
  • Question 24

    Given:

    What is the output?
  • Question 25

    Given:

    What code inserted into class C would allow it to compile?