.isEmpty(): Checks if an ArrayList has no elements (returns true) or contains elements (returns false).
.clear(): Removes all elements from an ArrayList.
.indexOf(element): Returns the index of the first occurrence of a specified element in an ArrayList.