Which one of the following code example of Scala collection type for filter is correct?
Correct Answer: scala> List(1, "1") collect { | case x: Int => x | } res0: List[Int] = List(1)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Scala MCQ Questions