A Brief Introduction

In this lesson, we will take a look at why composition, aggregation, and association are useful concepts in OOP.

Interaction Between Classes

By now, we’ve learned all we need to know about the creation and the behavior of a class. The concepts of inheritance and polymorphism taught us how to create dependent classes out of a base class.

The next step after object-oriented programming is object-oriented design (OOD). OOD deals with the use of different class objects to create the design of an application. Naturally, this means that independent classes would have to find a way of interacting with each other.

Get hands-on with 1200+ tech skills courses.