MCQs > IT & Programming > Scala > What is the value of z after executing this code? val y = List('a','b') val z = y::List('c')

Scala MCQs

What is the value of z after executing this code? val y = List('a','b') val z = y::List('c')

Answer

Correct Answer: List(List(a, b), c)

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