Question: Create the class SportsTeam . You are required to code the class with 3 instance variables (data members) that you make up and a 4th

Create the class SportsTeam.

You are required to code the class with 3 instance variables (data members) that you make up and a 4th instance variable that is the id of the team. This teamId instance variable will be a unique id" (similar to how a social security number is unique to a person) -- this will be used for the findTeamInfo() method in question #3.

You must have at least 2 constructors --a no-arg constructor and a constructor taking multiple arguments, and setter and getter methods for each of the 4 instance variables.

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!