Scala Practice Test
Scala Test 1
Which of the following expressions has the proper value?
List(1,2,3)flatMap(x=>List(x,4))
Select your answer
A
List(1,4,2,4,3,4)
B
List(1,2,3,4)
C
List (1,2,3,x,4)
D
List(4,4,4)
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49