What is Scala closure?
In Scala, Closure is a function in which the return value of a service is based on the amount of variables, which have been declared outside that function.
BY Best Interview Question ON 08 Feb 2019