Choose the correct description for both expressions, for the two expressions as following? expression 1 def m1(i:Int)=i+2 expression 2 (i:Int)=>i+2
Correct Answer: expression 1 is a method
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Scala MCQ Questions