subject

Create a MovieTicketManager class that implements the MovieTicketInterface. It will contain: • arraylist which holds references to Ticket objects (Adult, Child, Employee and MoviePass all inherit from Ticket). • methods to add a ticket, calculate the total sales for the month, retrieve the 3D movie tickets, retrieve the MoviePass tickets, retrieve all tickets, and any other methods needed for your design. • readFile method reads from a file and add tickets to the arrayList of Tickets • toString method will polymorphically call the toString method for each ticket stored in the arraylist. • monthlySalesReport method that returns a string with the entire report. Refer to program Screen shots for the format of the String return from toString method. • suggest two private methods – sortById and sortByDay that will sort the arraylist of Ticket objects either by Id or by Day. • Follow the Javadoc given you. Private members of the Javadoc are suggestions and are not required.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:00, deathfire5866
Determine whether the following careers would require training or college.
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, lm18618
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
image
Computers and Technology, 23.06.2019 02:30, hailey5campbelp7d1c0
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
image
Computers and Technology, 23.06.2019 02:30, bre563
Research data that is presented using descriptive language is said to be
Answers: 2
You know the right answer?
Create a MovieTicketManager class that implements the MovieTicketInterface. It will contain: • array...

Questions in other subjects:

Konu
Biology, 27.06.2019 13:00
Konu
Mathematics, 27.06.2019 13:00
Konu
Mathematics, 27.06.2019 13:00