Quiz Yourself: Processing Collections: Enum and Stream
Quiz yourself on Enum and Stream.
Technical Quiz
1.
What will be the output of the following code?
list = [9,19,29,39]
Enum.map(list, &(&1*2 + 10))
A.
[38, 58, 78, 98]
B.
[28, 48, 68, 88]
C.
[29, 39, 49, 59]
D.
[18, 38, 58, 78]
1 / 4