#java #java-generics
If you need to both read from and write to a list, you need to declare it exactly with no wildcards, e.g. List<Integer>.
If you want to change selection, open document below and click on "Move attachment"