4 — Dependency
Purpose
[stub: dependency]
- Uses-A Relationship
- Constructor Injection
- Method Injection
- Dependency Graph
Metadata
| Author | Amit Singh |
| Scope | object-oriented-programming |
Local graph
Related notes
1 — Association
Distinguishes One-to-One, One-to-Many, and Many-to-Many as the core sub-topics of association.
2 — Aggregation
Distinguishes Weak Ownership, Shared Objects, and Lifecycle Independence as the core sub-topics of aggregation.
3 — Composition
Distinguishes Strong Ownership, Lifecycle Dependency, and Composition over Inheritance as the core sub-topics of composition.
Object-Oriented Programming for MAANG Interviews
A book-shaped table of contents for OOP: paradigm foundations, the four pillars, object relationships, SOLID/GRASP design principles, memory and runtime internals, GoF design patterns, language-specific OOP, and OOP at system scale — cross-linking existing pattern, concurrency, and low-level-design notes instead of duplicating them.