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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started