Amusement park | Computer Science homework help

Amusement Park Programming Project

Project Outcomes

1. Use the Java selection constructs (if and if else).

2. Use the Java iteration constructs (while, do, for).

3. Use Boolean variables and expressions to control iterations.

4. Use arrays or ArrayList for storing objects.

5. Proper design techniques.

Project Requirements

 

Your job is to implement a simple amusement park information system that keeps track of admission tickets and merchandise in the gift shop. The information system consists of three classes including a class to model tickets, a class to model gift shop merchandise, the amusement park, and the amusement

park tester. The gift shop supports access to specific merchandise in the park’s gift shop and to purchase the merchandise or to order new merchandise for the gift shop. The UML diagram for each class (except the tester class) is given below.

 

1) Develop a simple class that models admission tickets. Each admission is described by several instance fields:

a. A ticket number as a long integer to identify the unique ticket,

b. A ticket category represented as a String to store the category of the ticket (i.e. adult, child, senior),

c. A ticket holder represented as a String to store the name of the person who purchased the ticket,

d. A date represented as a Date to store the admission date for the ticket,

e. A price represented as a double to store the price of the ticket,

f. A purchase status represented as a boolean to indicate if the ticket has been purchased (or is reserved).

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.