it will require you to write your own contains() method.
pointers for custom contains():
- iterate over all the elements in the list.
- compare the parameter string with all the values in
to make comparison case-insensitive be sure to apply any of toLowerCase or toUpperCase on BOTH parameter and the current element.
List list;
public boolean contains(String str){
for(int i=0;i