In OOP, classes can have a relationship with each other. In this section, we are going to talk about three different types of relationships between classes.
Association, aggregation, and composition
Get Learning TypeScript 2.x - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.