Java ArrayList allows duplicate and null values. Java ArrayList is an ordered collection. It maintains the insertion order of the elements. You cannot create an ArrayList of primitive types like int, ...