Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavastream pipelinesSingle-choice MCQ

What is the result of running this stream pipeline?

List<String> r = Stream.of("a","b","c","a").distinct().map(String::toUpperCase).toList();