What is the output of given code below?
def addInt( a:Int = 5, b:Int = 7 ) : Int = a + b print(addInt(3,7),addInt(3),addInt(),addInt(b=5))
Correct Answer: 10,10,12,10
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Scala MCQ Questions