Synechron Interview Question

What is a closure in scala?

Interview Answer

Anonymous

Aug 20, 2020

A closure is a function, whose return value depends on the value of one or more variables declared outside this function.