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

Java - Object oriented programming question (d) A banking application written in

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!