GoConqr has a new look! Let us know what you think.

Quiz

CPSI 2413 - Unit 2

Adam Peterson 15 questions

Take the quiz

Questions in this quiz (15)

  1. 1
    Subclasses are more specific than the superclass they extend.
    1. ATrue
    2. BFalse
  2. 2
    In a UML diagram, an inheritance relationship is indicated with an arrow that points from the original class to the descendant class.
    1. ATrue
    2. BFalse
  3. 3
    When you use the method name with a child object, the parent’s version of the method is used.
    1. ATrue
    2. BFalse
  4. 4Composition can be modeled as a "IS A" relationship.
    1. ATrue
    2. BFalse
  5. 5
    Inheritance can be modeled as a "IS A" relationship.
    1. ATrue
    2. BFalse
  6. 6Polymorphism relies on inheritance to operate.
    1. ATrue
    2. BFalse
  7. 7
    When you create a superclass and one or more subclasses, each object of each subclass is a subclass object.
    1. ATrue
    2. BFalse
  8. 8
    Java does not allow a class to inherit directly from two or more parents.
    1. ATrue
    2. BFalse
  9. 9
    A nonstatic method cannot override a static member of a parent class.
    1. ATrue
    2. BFalse
  10. 10
    ____ polymorphism is the ability of one method to work appropriately for subclasses of the same parent class.
    1. ASubtype
    2. BName
    3. CSupertype
    4. DOverride

Information

Description
CPSI 2413 Quiz on CPSI 2413 - Unit 2, created by Adam Peterson on 26/01/2018.
Language
English
Views
35
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?