Answer Posted / Manish Kumar Prabhakar
A Scala anonymous function (also known as a lambda expression) is a function without a name. It can be created using curly braces and an arrow => to separate parameters from the body of the function. For example, val sum = (x: Int, y: Int) => x + y.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers