MCQs > IT & Programming > Scala > For the code below choose correct statement?

Scala MCQs

For the code fragment below choose the correct statement?

val aa = bb filter (x => x % 2 == 0)

Answer

Correct Answer: aa will be a new collection, while bb will still be the same as before

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