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

Which result do you get from this code?

List<Integer> r = Stream.of(1,2,3).map(i -> i*2).toList();