Blogger

Delete comment from: Javarevisited

Rani Verla said...

Now you can use List.of()/ Set.of()/Map.of() from java 9 which makes your collection immutable

Apr 13, 2020, 3:45:25 PM


Posted to How to Create Read Only List, Map and Set in Java? UnModifiable Collection Example

Google apps
Main menu