How to make a mutable list in java?

0

I would like to know if you can make a mutable list in java, and how it could be done. Thanks

    
asked by Adrian Pang 01.06.2018 в 20:42
source

1 answer

0

In general, unless otherwise indicated, Java collections are mutable.

For example ArrayList has the methods add and remove to add and remove elements respectively.

    
answered by 02.06.2018 в 03:45