Answered step by step
Verified Expert Solution
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
In 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started