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

Which list does Stream.concat produce here?

List<String> r = Stream.concat(Stream.of("a"), Stream.of("b")).toList();