Given:
IntStream stream = IntStream.of (1,2,3);
IntFunction<Integer> inFu= x -> y -> x*y; //line n1
IntStream newStream = stream.map(inFu.apply(10)); //line n2 newStream.forEach(System.output::print);
Which modification enables the code fragment to compile?
MPignaProTech
1 month, 4 weeks agoasdfjhfgjuaDCV
10 months, 1 week agovietnamn1
1 year agoTemilaw25
1 year, 7 months agor1muka5
1 year, 10 months agoWilsonKKerll
2 years, 10 months agoYasinGaber
2 years, 11 months agoSvetleto13
3 years, 8 months ago