CSIS 312 Quiz 1

  1. When overriding a superclass method and calling the superclass version from the subclass method, failure to prefix the superclass method name with the keyword super and a dot (.) in the superclass method call causes ________.
  2. Superclass methods with this level of access cannot be called from subclasses.
  3. Using public set methods helps provide data integrity if:
  4. Overriding a method differs from overloading a method because:
  5. An advantage of inheritance is that:
  6. Which of the following statements is false?
  7. Which of the following is not a superclass/subclass relationship?
  8. A programmer-defined constructor that has no arguments is called a(n) ________.
  9. When a subclass constructor calls its superclass constructor, what happens if the superclass’s constructor does not assign a value to an instance variable?
  10. The default implementation of method clone of Object performs a ________.
Buy Answer Key