| Topic | First Class Functions |
|---|---|
| Benefits realized | How First Class functions helps in |
| Git sample | FirstClassFuncTest.scala |
- A First Class Function is treated same as any other variable. It has following features
- Passing functions as arguments to other functions
- Returning functions as the values from other functions
- Assigning functions to variables or storing them in data structures