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, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
If i uninstall nba 2k 19 from my ps4 will my career be gone forever?
Answers: 2
You know the right answer?
Create a MovieTicketManager class that implements the MovieTicketInterface. It will contain: • array...
Questions
question
Mathematics, 25.08.2019 19:10
question
Mathematics, 25.08.2019 19:10
question
Biology, 25.08.2019 19:10
question
Mathematics, 25.08.2019 19:10
Questions on the website: 13722361