For the code below, which of the following statement is True?
val data = "test" list = List("this", "is", "a", "test") what will be the effect of applying the expression below to the list list.filterNot(elm => elm == data)
Correct Answer: will return all elements from the list except those which aren't equal to "test"
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Scala MCQ Questions