Question: code needeed in java language Task 3 - 20 marks (LO3) Create a new package in this project called assignment2_2. Copy the Flight class and

code needeed in java language Task 3 - 20 marks (LO3)

Create a new package in this project called assignment2_2. Copy the Flight class and the Airline classes to this package. Change the definition of the FlightLists ArrayList in the Airline class to a ArrayDeque that implemented the Deque interface.

Create a new program to test the Airline. In this program you need to demonstrate how the ArrayDeque structure can be used as a queue as well as a stack.

Documented Test plan: (300 words) Design and implement a list of test cases to provide evidence to confirm the functionalities implemented in this part. You need to explain the test cases and provide evidence of execution such as code snippets and screenshots.

Discuss the advantages and disadvantages if FlightList to be an ArryQueue that implements the Deque interface?

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!