1.

What Is A Closure In Scala?

Answer»

A closure is a FUNCTION whose RETURN VALUE depends on the value of the variables declared OUTSIDE the function.

A closure is a function whose return value depends on the value of the variables declared outside the function.



Discussion

No Comment Found