InterviewSolution
Saved Bookmarks
| 1. |
What are higher-order functions in Scala? |
|
Answer» Functions in Scala are first-class values. This means that a FUNCTION can be passed as a parameter or returned as a RESULT. The Higher-order functions in Scala take other purposes as parameters and return a role as a result. This FUNCTIONALITY provides FLEXIBILITY in composing programs. |
|