MCQs > IT & Programming > Scala > Statement that is not correct using the code below?

Scala MCQs

Choose the statement that is not correct using the code below?

(1 to 10).par map println

Answer

Correct Answer: If you add par you get a parallel collection and operations on it will always be processed in parallel only if more than one system thread is avaiable

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Scala Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Scala Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it