All challenges
Multiple ChoiceIntermediate 30s

Closure Definition

Choose the best answer for: closures
Options
  1. 1A closure captures variables from its enclosing scope
  2. 2A closure cannot access variables from its enclosing scope
  3. 3A closure is a class that stores state in instance attributes
  4. 4A closure is the same as a lambda with no free variables

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle