Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Remaining Time: 1 hour, 59 minutes, 05 seconds. Question Completion Status: Path

ID: 3700642 • Letter: R

Question

Remaining Time: 1 hour, 59 minutes, 05 seconds. Question Completion Status: Path p QUESTION 55 Write a lambda that can be used in place of the following anonymous inner class: new IntConsumer public void accept(int value) System.out pr intE("%d ", value), Pah p QUESTION 56 Write a method reference that can be used in place of the following lambda (String s) > (return s toUpperCase0:) Click Save and Submit to save and submit. Cliek Save All Answers to save all answers 0

Explanation / Answer

55) value -> System.out.printf("%d ", value); 56) public String method(String s) { return s.toUpperCase(); }