Multiple Choice
The method reference System.out::println is a shorthand for which expression?
A) () -> System.out.println(n)
B) () -> System.out.println()
C) n -> System.out.println(n)
D) System.out.println()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q74: Which statement about lambda expressions is NOT
Q75: Which method yields a new stream with
Q76: Complete the following code snippet that returns
Q77: Complete the following code snippet that checks
Q78: Which statement creates a set of majors
Q80: Which of the following is NOT a
Q81: Consider the following pseudocode that returns an
Q82: Which of the following can NOT be
Q83: Which of the following is NOT a
Q84: Which statement about streams and stream processing