Q.1
Which element is represented by a[10]?
  • 10th
  • 9th
  • 11th
  • None
Q.2
Information given to a method.
  • method
  • mutator
  • accessor
  • conditional
  • parameter
Q.3
This return information about the state of an object.
  • method
  • mutator
  • accessor
  • conditional
  • parameter
Q.4
This changes the state of an object.
  • method
  • mutator
  • accessor
  • conditional
  • parameter
Q.5
False && true || true
  • True
  • False
Q.6
What would this output?System.out.println(15%3);
  • An error
  • 5
  • 3
  • 0
Q.7
What is the logical operator for "not" ?
  • ||
  • &
  • &&
  • !
  • |
Q.8
What is the logical operator for "or" ?
  • ||
  • &
  • &&
  • !
  • |
Q.9
What is the logical operator for "and" ?
  • ||
  • &
  • &&
  • !
  • |
Q.10
When a variable stores an object, the object is stored in the variable directly.
  • True
  • False
0 h : 0 m : 1 s