Person[] p = new Person[10];//Person
ArrayList<Person> pList = new ArrayList<Person>();
both p and pList above can be used to store data of person type. How to choose?
an array of functions that can be implemented by ArrayList can also be realized, so why is there ArrayList?