...

/

Challenge 2: Aggregate `Em All!

Challenge 2: Aggregate `Em All!

In this exercise, you have to perform aggregation between 3 classes.

We'll cover the following...

Problem Statement

You have to implement 3 classes:

class School {
}

class Team {
}

class Player {
}

in such a way that an instance of a School should contain instances of Team objects. Similarly, a Team object can contain instances of Player class.

Consider this diagram for clarification:

Access this course and 1400+ top-rated courses and projects.