Kinaxis interview question

OOP basics, array vs arraylist