How to use an ArrayList here?

Printable View