4. Which object-oriented terms does a generalisation/ specialisation relationship illustrate?

A generalisation/specialisation relationship illustrates the object-oriented terms of inheritance and polymorphism.

Inheritance refers to the ability of a class to inherit attributes and methods from a superclass. In a generalisation/specialisation relationship, the superclass represents the general concept, while the subclasses represent more specific concepts that inherit the attributes and methods of the superclass.

Polymorphism, on the other hand, allows different objects to be treated as instances of a common superclass. In a generalisation/specialisation relationship, the subclasses can be treated as instances of the superclass, allowing for more flexibility and reusability in the code.