Infosys interview question

Differentiate between array and arraylist