/**
* Create a generic class to implement a league table for a sport.
* The class should allow teams to be added to the list, and store a list of teams that belong to the league.
*
* Your class should have a method to print out the teams in order,
* with the team at the top of the league printed first.
*
* Only teams of the same sport should be added to any particular instance of the league class
* (the program should fail to compile) if an attempt is made to add an incompatible team.
*/
-
Notifications
You must be signed in to change notification settings - Fork 0
Adhouma/Generics-challenge
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Java Generics challenge
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published