how to import collections in java code example Example: import collections in java import java.util.Collection;