Teranet interview question

Array vs ArrayList