Questions tagged [free-variable]

31 questions
-2
votes
2 answers

What is the logic behind closure property in OOPs?

I have a doubt regarding the concept of closure in an object-oriented programming language. so by definition, closure is a concept of an inner function having access to free variables(variables which are created in the outer function). I want to…
Flash
  • 45
  • 7
1 2
3