Question
In Java Create 3 classes, app, player and team. The app should use the player and team classes App needs to create 5 players in
In Java
Create 3 classes, app, player and team. The app should use the player and team classes App needs to create 5 players in an array list, a team using these players with the help of the team class to display the info requested. Player class needs to have 5 attributes (first_name, last_name, height, weight, age), and a method that will retun this information about the player Team class needs to have a name, location, and the 5 players that are on the team with their info, team also needs a method to display all info about a team including info on a particular player
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