Question: java You are writing a filter for an airline. The method takes in two ArrayLists storing strings. The first ArrayList contains the id numbers of

java

You are writing a filter for an airline. The method takes in two ArrayLists storing strings. The first ArrayList contains the id numbers of passen- gers, stored as Strings. The second ArrayList contains the id numbers of criminals who should not be allowed to fly. Write a method that takes in the two ArrayLists, and returns a new ArrayList containing only the passengers who are allows to fly.

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!