Question : java create a set with values
Answered by : jack-waller
Set<String> set = new HashSet<>(Arrays.asList("a", "b", "c"));
Source : https://www.baeldung.com/java-initialize-hashset | Last Update : Fri, 03 Apr 20
Answered by : jack-waller
Set<String> set = new HashSet<>(Arrays.asList("a", "b", "c"));
Source : https://www.baeldung.com/java-initialize-hashset | Last Update : Fri, 03 Apr 20