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

Which option is the result?

double avg = IntStream.of(1,2,3,4,5).average().getAsDouble();\nSystem.out.println(avg);