MCQs > IT & Programming > Scala > Which statement is false about the functions in Scala?

Scala MCQs

Which of the following statement is false about the functions in Scala?

Answer

Correct Answer: It is possible to define def add(x:Int, y:Int) = x + y as def add(x:Int) (y:Int) = x + y c ) Following code gives compile error

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