Interfaces (cont)
Interfaces define
- how components of software systems are invoked
- what information is transferred between components
In the C world, systems are structured as
- collections of functions
- where functions are commonly grouped into libraries
In the O-O world (e.g. Java), systems are structure as
- collections of classes
- where classes contain data and methods
In both cases, we need to define names, types, signatures.
|