Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have been asked to create a object class for TCEA Robotics Teams. Teams consist of a Team Name, Team Number, School, and Region. There
You have been asked to create a object class for TCEA Robotics Teams. Teams consist of a Team Name, Team Number, School, and Region. There are 20 Regions in Texas. An example of data for a team is as follows:
Team Name: Eliminators
Team Number: 7020
School: Lindale High School
Region: 7
The object class will contain:
- Instance variables
- A static variable to keep track of the number of teams in the State
- A default constructor and a parameter constructor
- Get and set methods for each instance variable (Do not generate with Eclipse)
- Static method to return the number of teams in the State
- A toString that will override the toString in the Object class
- An equals method that will override the equals method in the Object class
Lab02 Requirements:
- Complete a UML for the object class as specified above
- Implement the Object class using the UML and requirements
- Verify the region number is between 1 and 20 in your mutator method
- Create a Client class to test your object class
- Create two objects
- Test all set methods
- Test all get methods
- Test static method
- Test toString
- Test equals
Submit your UML, Object class, and Client Class to Canvas
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