Set<String> h = new HashSet<>(Arrays.asList("a", "b"));
Set<String> strSet = Set.of("Apple", "Ball", "Cat", "Dog");