Question: write the main program to create three bags of type ArrayBag that can hold String values. Place 5 strings in first bag and 5 strings

write the main program to create three bags of type ArrayBag that can hold String values. Place 5 strings in first bag and 5 strings in the second bag. Remove an item from the first bag and check if the second bag has that item or not. If it does not have that item add that item to the third bag. Repeat this process using a loop until the first bag has no more items. 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
