Suppose MyArrayList<String> set1 = new MyArrayList<String>() is
a set that contains the strings "red", "yellow", "green", and
MyArrayList<String> set2 = new MyArrayList<String>() is another
set that contains the strings "red", "yellow", "blue". Answer the following
questions (where all the questions are independent):
a. What is set1 after executing set1.addAll(set2)?
b. What is set1 after executing set1.add(set2)?
c. What is set1 after executing set1.removeAll(set2)?
d. What is set1 after executing set1.remove(set2)?
e. What is set1 after executing set1.retainAll(set2)?
f. What is set1 after executing set1.clear()?