Since toString() is inherited by all class definitions in
Java, you can call toString() on any reference, however, depending on the type of object referred to, you may not get very useful information.
But if the objects in the ArrayList are Strings, you can get a reference to the String with toString().