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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
Answers: 2
You know the right answer?
Create a MovieTicketManager class that implements the MovieTicketInterface. It will contain: • array...
Questions
question
Mathematics, 04.05.2021 16:50
question
Mathematics, 04.05.2021 16:50
question
Spanish, 04.05.2021 16:50
Questions on the website: 13722361