Suppose we wanted to write generic code to return the elements of a list as a string. Such code could look like (inside the AbstractList class): public String toString() { String s=""; for(int i=0;i