Pergunta de entrevista da empresa Samsung Electronics

Difference between array and arraylist.