Skip to main content
Engineering LibreTexts

5.8: Vocabulary

  • Page ID
    21121
  • collection:
    An object that contains other objects, or more specifically, one of the objects in the Java library, like ArrayList, that contains objects.
    inheritance:
    The ability to define a new class that has the same instance variables and methods of an existing class.
    subclass:
    A class that inherits from, or extends, an existing class.
    superclass:
    An existing class that is extended by another class.
    wrapper method:
    A method that calls another method without doing much additional work.
    bottom-up development:
    A way of developing programs by identifying simple pieces, implementing them, and then assembling them into more complex algorithms.
    HAS-A:
    A relationship between two classes where one class “has” an instance of another class as one of its attributes.
    IS-A:
    A relationship between two classes where one class extends another class; the subclass “is” an instance of the superclass.