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 08:30
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. â–ş print out all positive integers from 1 to 100, inclusive and in order. â–ş print messages to standard output, matching the sample output below. â–ş in the output, state whether the each integer is 'odd' or 'even' in the output. â–ş if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. â–ş if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. â–ş design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
Consider the folloeing website url: what does the "http: //" represent? a. protocal identifier. b. ftp. c. domain name d. resource name
Answers: 2
You know the right answer?
Create a MovieTicketManager class that implements the MovieTicketInterface. It will contain: • array...
Questions
question
Mathematics, 28.01.2020 19:50