Question: Java - Object oriented programming question (d) A banking application written in Java does 'batch processing' once per day, running a sequence of financial transactions
Java - Object oriented programming question

(d) A banking application written in Java does 'batch processing' once per day, running a sequence of financial transactions in the order in which they were submitted. Since the bank has a large number of customers, this sequence can grow to a considerable size over the course of a day. Bank workers who submit a transaction for batch processing can cancel it at any time before the end of the working day, resulting in its removal from the sequence. Assuming that a transaction is represented as the class Transaction, (i) Identify the standard Java data structure that would be most appropriate for rep- resenting the sequence (i) Write down the Java code that would create an instance of this data structure (ii) Give reasons why you have chosen this particular data structure over others avail able in the standard Java AP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
