IT 114: Introduction to Java
Answers to Class 33 Ungraded Quiz

  1. What do you call the principle that allows you to construct a new class based on another class?
    inheritance
  2. When you create a new class based on another class, what can you use from the previous class?
    fields and methods
  3. If you want to use a class representing one thing as the basis for a class representing another thing, what must the relationship between the two things be?
    an ""is a" relationship
  4. If one class is used to create another class, what do you call the new class?
    subclass or derived class
  5. If one class is used to create another class, what do you call the original class?
    superclass or base class
  6. Could you use the class Cat to be the basis of the class Pet?
    no