Ticketmaster

Assignment Help JAVA Programming
Reference no: EM13165299

Design a set of classes that work together to simulate a customer buying tickets for a music event The classes you will design are:

CUSTOMER - this class will have: the name of the customer and the amount of cash on hand

TICKETMASTER - this class will have: a service charge = $8.00 per ticket, tax = .085 current amount of all tickets sold. Its responsibilities are printing a list of events for sale, looking up an event for a customer, and selling a ticket to the event.

EVENT - this class has name of musical group, time of event, place of event number of tickets available price of single ticket Use the events file for data for all events

TICKET - this class will have: name of customer who purchased the ticket, the band name, the time and place of the concert, and the number tickets purchased along with total price of tickets (cost + tax + service charge)

When purchasing a ticket, a customer will need to have to have enough money and there will have to be enough available for that particular event.

Demonstrate your classes by creating:

1) A 1st customer with $100.00 cash who wants 1 ticket to Bob Dylan

2) A 2nd customer with 100.00 cash wants 2 tickets to R Kelly

3) A 3rd customer with $300 wants 2 tickets to Muse

4) A 4th customer with $50 wants 1 ticket to Bassnectar

Since I can't upload the events.dat file, I will copy and paste it below...

Muse
Oracle Arena
5
75.00
8:00
Foster the People
Greek Theater
50
35.00
8:00
Bassnectar
Bill Graham
20
50.00
8:00
Rihanna
HP Pavillion
20
45.00
7:30
Bob Dylan
Bill Graham
0
100.00
7:30
R Kelly
Paramount Theater
15
35.00
7:30
Jane's Addiction
Mondavi Center
40
30.00
8:30
Of Monsters and Men
Shoreline
25
40.00
8:00

Reference no: EM13165299

Questions Cloud

Discuss the major sources of crime statistics : Discuss the major sources of crime statistics in the United States. What are  the potential sources of error in these reports?
Internet file-sharing programs : Internet file-sharing programs such as Kazaa are popular among college students. These programs work by allowing non-organizational users to access any local network where desired files are located.
Monkey business, a local zoo : Monkey Business, a local zoo, wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two-dimensional 3 7 array, where each row represents a di..
Create a book class for the library application project : Create a Book class for the Library application project. In addition to properties of author and isbn, with setters/getters, the Book should override Object's base method "boolean equals(Object)" and have a "boolean validate()" method.
Ticketmaster : TICKETMASTER - this class will have: a service charge = $8.00 per ticket, tax = .085 current amount of all tickets sold. Its responsibilities are printing a list of events for sale, looking up an event for a customer, and selling a ticket to the e..
Binary scientific notation : For IEEE 754 single precision floating point, what is the number, as written in binary scientific notation, whose hexadecimal representation is: 0061 0000
America and the great war : The assassination of Archduke Franz Ferdinand was the immediate cause of World War I. But the events that led to the Great War go further back into the nineteenth century. As with the Boxer Rebellion of 1900, nationalism, imperialism, and militarism ..
Write the hexadecimal representation for -1.0 : For IEEE 754 single precision floating point, write the hexadecimal representation for -1.0
Code should include a loop that displays income : This code should include a loop that displays income generated from ticket sales for each night. Shows are performed on Thursday, Friday and Saturday nights.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Class diagram represents the relationship between parents

Draw a class diagram that represents the relationship between parents, children, and grandparents. Take into account that a person can have both a parent and a child. Annotate associations with roles and multiplicities.

  Have to implement a search algorithm

Suppose you have to implement a search algorithm in a high programming language such as Java or C++. You are given a linked list that is not sorted and it's rather small, in the order of a few dozen elements.

  Write an interface for an abstract method

Write an interface, PointingDevice, containing:  an abstract method, getXCoord that returns an int and an abstract method, getYCoord that returns an int.

  Enterprise java beans (ejb) in software development

Enterprise Java Beans (EJB) in software development, EJB technology, EJB application, Stateless Session Beans (SLSB), Stateful Session Beans (SFSB), Message Driven Bean (MDB), Entity Bean

  Java script program for song

Construct a JavaScript program that declares and prints an array that includes at least twenty of your favorite songs.

  Have an array of integers with user input instead of given

change the current code to have an array of integers with user input intead of given input from the main where it says int[] a=....; And also from a text file but the same numbers as what is given in main.

  Write a java program to register students for a college

Project is for designing and developing a College Registration program. Write a Java program to register students for a college

  Write a class that implements an ordered list of strings

In this problem you will write a class that implements an ordered list of Strings.

  Java threads

This is an introductory assignment on Java synchronization. You will use Java Threads while learning more about concurrency and achieving atomicity using Java’s inbuilt mechanisms.

  Videorental store operatorrecord clients

Project is to design a program to help a videorental store operatorrecord clients' transactions - Design a primitive database indicating

  Program that allows the user to enter the last names

Write a program that allows the user to enter the last names of 5 candidates in a college election and the votes received by each candidate. The program should then output each candidates name, the votes reveived by that candidate

  Java application which creates bank records

Write down a java application which creates 10000 bank records and the allow user ti enter a balance and customer account info. using a an account number.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd