Write a method called removeEvenLength that takes an ArrayList of String s as a parameter and removes all of the String s of even length from the list.
public static void removeEvenLength(ArrayList strList)
{
for(int i = 0; i < strList.size(); i++)
{
if(strList.get(i).length() % 2 == 0)
{
strList.remove(i);
i--;
}
}
}