Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Draw a UML Class Diagram representing the following elements for a football league. - A football league is made up of at least 10

image text in transcribed
1) Draw a UML Class Diagram representing the following elements for a football league. - A football league is made up of at least 10 football teams. - Each football team is composed of 45 to 50 players. - One player captains the team. - A team has a name and a record. - Players have a number and a position. - Football teams play games against each other. - Each game has a score and a location. - Teams are sometimes led by a coach. - A coach has a level of accreditation and a number of years of experience and can coach multiple teams. - Coaches and players are people, and people have names and addresses. Draw a class diagram for this information and be sure to label all associations with appropriate multiplicities. Assumptions: - Each player only plays on one team. - Each captain only captains one team. - Each team only plays in one league. 2) Write code for the classes and the relationships among them. 1) Draw a UML Class Diagram representing the following elements for a football league. - A football league is made up of at least 10 football teams. - Each football team is composed of 45 to 50 players. - One player captains the team. - A team has a name and a record. - Players have a number and a position. - Football teams play games against each other. - Each game has a score and a location. - Teams are sometimes led by a coach. - A coach has a level of accreditation and a number of years of experience and can coach multiple teams. - Coaches and players are people, and people have names and addresses. Draw a class diagram for this information and be sure to label all associations with appropriate multiplicities. Assumptions: - Each player only plays on one team. - Each captain only captains one team. - Each team only plays in one league. 2) Write code for the classes and the relationships among them

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

ISBN: 1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

How will performance be defined and measured?

Answered: 1 week ago