Challenge 2: Aggregate `Em All!
Explore object aggregation in Java by implementing School, Team, and Player classes. Learn to structure class relationships and write a method to count total players across teams in a school.
We'll cover the following...
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 ...