You can convert any collection. to an array or a list. Such conversion requires copying all of the elements of the collection,and thusis slow for large collections. Sometimes you need to do it, though, due to an existing API. Further, many collections only have a few elements anyway, in which case there is only a small speed penalty?
Correct Answer: Conversion
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Scala MCQ Questions