Question 11

Which code fragment prints 100 random numbers?
  • Question 12

    Given:

    What is the result?
  • Question 13

    Given:

    Which loop incurs a compile time error?
  • Question 14

    Given:

    Which two statements are valid to be written in this interface? (Choose two.)
  • Question 15

    Given:

    You want the code to produce this output:
    John
    Joe
    Jane
    Which code fragment should be inserted on line 1 and line 2 to produce the output?