Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java LWB LW CB CM AM CF ?? CM RB Figure 1. Soccer position map Various positions available on a soccer field for players

image text in transcribedimage text in transcribedimage text in transcribedIn Java

LWB LW CB CM AM CF ?? CM RB Figure 1. Soccer position map Various positions available on a soccer field for players are depicted in figure 1. A SoccerPlayer class with following: name (XXXX: String type), dob (dd-mm-yyyy: Date type), clubName(XXXX: String type), countryName(XXXX: String type), numYellowCards (X; int type), numRedCards (X: int type), and gamesPlayed (X: int type) A Goalkeeper is a SoccerPlayer that in addition has the following: goalsAllowed (X int type). shotsOnGoal (X. int type), and numSaves (X: int type) A Defender is a SoccerPlayer that in addition has the following: numTackles (X: double type) A CentreBack is a Defender that in addition has the following: shotsBlocked (X: int type) A Sweeper is a Defender that in addition has the following: sweepUps (X: int type) A WingBack is a Defender that in addition has the following: throwIns (X: int type) A Midfielder is a SoccerPlayer that in addition has the following: attacksStopped (X: int type) A CenreMidfielder is a Midfielder that in addition has the following: numPasses (X: int type) A WideMidfielder is a Midfielder that in addition has the following: chancesCreated (X: int type) A DefensiveMidfielder is a Midfielder that in addition has the following: intercepts (X: int type) A Forward is a SoccerPlayer that in addition has following: goalsScored (X: int type), numAssists (X: int type), shotsOnTarget (X: int type) A CenreForward is a Forward that in addition has the following: longBallsRecieved (X: int type) A Winger is a Forward that in addition has the following: numCrosses (X: int type) A Striker is a Forward that in addition has the following: goalsToShotsRatio (X: double type)

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

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

4. Help trainees set challenging mastery or learning goals.

Answered: 1 week ago

Question

2. Enrolling employees in courses and programs.

Answered: 1 week ago