...

/

Challenge 2: Implementing a Sports Team!

Challenge 2: Implementing a Sports Team!

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

Problem statement

You have to implement 3 classes, School, Team, and Player, such 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.