Infosys interview question

Difference between ArrayList and Arrays in Java.