Brilworks interview question

How to make arraylist immutable?