Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this assignment please and thank you! Must be in JAVA. Please complete the following assignment. Make sure that the program allows

I need help with this assignment please and thank you! Must be in JAVA.

image text in transcribed

Please complete the following assignment. Make sure that the program allows for user input. Remember to create your data requirements and algorithm document and take a screen shot of your output. You will need to run the program for me during class. Program must be written in Java for any credit to be provided. Remember all programs should be readable with appropriate white space, documentation, and must have your name, date, name of assignment as document comments. 1. Create a class to hold data about a high school sports team. The Team class holds data fields for high school name (such as Roosevelt High), sport (such as Girls' Basketball), and team name (such as Dolphins). Include a constructor that takes parameters (input) for each field and include get methods that return the values of the fields. Also include a public final static String named MOTTO and initialize it to "Sportsmanship!". Write an application named TestTeam to instantiate three Team objects with different values, and then display all the data, including the motto, for each object. Save both the Team.java and TestTeam.java files. 2. Create a class named Game. Include two Team fields that hold data about the teams participating in the game. Also include a field for game time (for example, 7 PM). Include a constructor that takes parameters for two Team objects and a time. Write an application named TestGame to instantiate a Game object, then pass the Game to a method that displays the details about the Game. Rubric: - Java Program Requirements - Create a constructor and get methods for high school name and team name - 40 points. - You will need to create a second-class name Game - 20 points. - Create a constructor for two Team objects and a time - 30 points. - Method that displays data about the game - 20 points - appropriate number of class and java applications - 30 points - Data requirements and pseudocode document - 30 points

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

3. An overview of the key behaviors is presented.

Answered: 1 week ago

Question

2. The model is credible to the trainees.

Answered: 1 week ago