|
|
Keywords:
Override,
Subclass,
Precondition,
Add,
Inherits
(v.) In programming, to add a range of operations. For example, class X “extends†class Y, either by adding fields or methods to class Y, or by overriding methods of class Y. An interface extends another interface by adding methods. Class X is considered a subclass of class Y.
An instruction in Java that adds or extends the attributes or abilities of one class to a new class.
To base a component on a component type so that the component inherits variables and procedures that are defined by the component type. The component can override variable values and procedure definitions defined by its associated component type.
extend_* Add several items to the container. Contrary to append, extend has a precondition ( extendible) which checks whether there is enough room left in the container.
Declare a class as an extension (or subclass) of another class, inheriting its fields and methods.
|