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
Get step-by-step solutions from verified subject matter experts
