delete all items in a list java code example Example: how to remove all items from alist in java list.clear();