Glossary (i-w) Flashcards
white-box reuse
A style of reuse based on class inheritance.
A subclass reuses the interface and implementation of
its parent class, but it may have access to otherwise private aspects of its parent.
parameterized type
A type THAT LEAVES some constituent types unspecified.
The unspecified types are supplied as parameters at the point of use.
In C++, parameterized types are called templates.
object composition
Assembling or composing objects to get more complex behavior.
toolkit
A collection of classes that provides useful functionality but does not define the design of an application.
object
A run-time entity that packages both data and the procedures that operate on that data.
subtype
A type that contains an interface inherited from a supertype
signature
An operation’s signature defines its name, parameters, and return value.
operation
The procedure AN OBJECT PERFORMS when it receives a request.
protocol
Extends the concept of an interface to include the allowable sequences of requests.
subsystem
An independent group of classes that COLLABORATE TO FULFILL a set of responsibilities.
polymorphism
The ability to substitute objects of matching interface for one another at run-time.
supertype
The parent type from which a type inherits.
interaction diagram
A diagram that shows the flow of requests between objects.
handle
A value that identifies an object.
reference
a variable that contains a handle
overriding
Redefining an inherited operation in a subclass.
interface
The set of ALL signatures defined by an object’s operations.
The interface DESCRIBES the set of requests to which an object can respond.
type
The name of a particular interface.
inheritance
A relationship that defines one entity in terms of another.
Interface inheritance defines a new interface in terms of one or more existing interfaces.
Implementation inheritance defines a new implementation in terms of one or more existing implementations.
Class inheritance combines interface inheritance and implementation inheritance.
object diagram
A diagram that depicts a particular object structure at run-time.
instance variable
A piece of data that defines part of an object’s representation.
C++ uses the term data member.
receiver
The target object of a request.