Question: I need a quick answer for this java programming please Activity 1 (Portfolio Task): Implement classes Team, FootballLeague, and Dashboard that provide the following functionality:

I need a quick answer for this java programming please

Activity 1 (Portfolio Task): Implement classes Team, FootballLeague, and Dashboard that provide the following functionality: Class Team: Stores teams name, number of wins, draws and losses, as well as the number of points (points are recalculated every time the number of wins, draws and losses is updated). Note: A team is awarded 3 points for every win, 1 point for every draw and 0 points for every loss Creates a human friendly representation of the class (i.e. toString()) Allows a total ordering of teams (i.e. teams are Comparable) Class FootballLeague: Stores a list of Teams included in the league (while maintaining the list in descending order based on Teams points) Teams can be inserted (adding a new team) and removed (deleting an existing team) at any point Teams position in the league can be updated by updating teams wins, draws and losses (changes to points must be reflected in the ordering of the list) Teams can be relegated at the end of the season (i.e. the 3 teams with the least amount of points) The league table (i.e. list of Teams) should be printed after every change takes place Class Dashboard: Creates a football league instance and subsequently inserts, updates, removes and relegates teams

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!