Object-oriented programming is often defined as the combination of Abstract Data Types (ADTs) with Inheritance & Dynamic Binding Each concept addresses a different aspect of system decomposition:
1. ADTs decompose systems into two-dimensional grids of modules
– Each module has public & private interfaces
2. Inheritance decomposes systems into three-dimensional hierarchies of modules
– Inheritance relationships form a lattice
3. Dynamic binding enhances inheritance
– e.g., defer implementation decisions until late in the design phase or even until run-time.
1. ADTs decompose systems into two-dimensional grids of modules
– Each module has public & private interfaces
2. Inheritance decomposes systems into three-dimensional hierarchies of modules
– Inheritance relationships form a lattice
3. Dynamic binding enhances inheritance
– e.g., defer implementation decisions until late in the design phase or even until run-time.
.jpg)
No comments:
Post a Comment