Write a method removeEvenLength that takes an ArrayList of Strings as a parameter and that removes all of the strings of even length from the list.\[code\]public void removeEvenLength(ArrayList <String> stringList){ for(int i=0;i<stringList.size();i++){ String word=stringList.get(i); if(word.length()%2==0){//even stringList.remove(word);//if it is even,test from the first word then continue looping } }}\[/code\]When i tried to pass in ["This", "is", "a", "test"],it should return me a.But instead it is giving me is,a.What's wrong with it?