Answer :

the answer is the ArrayList method