Samsung Electronics interview question

Difference between array and arraylist.