Given the content:
and given the code fragment:
Which two code fragments, when inserted at line 1 independently, enable the code to print "Wie geht's?"
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.out::print);
Which modification enables the code fragment to compile?
Given the for loop construct:
for ( expr1 ; expr2 ; expr3 ) {
statement;
}
Which two statements are true?
Given the code fragment:
Which code fragment, when inserted at line 3, enables the code to print 10:20?