Abstraction (cont)
Interfaces are opaque
- clients cannot see the implementation via the interface
Abstraction is important because …
- it facilitates decomposition of complex programs
- makes implementation changes invisible to clients
- improves readability and structuring of software
- allows for reuse of modules in other systems
|