Multiple ChoiceIntermediate 30s
Closure Memory
Choose the best answer for: closure memory usage
Options
- 1Closures copy outer variables by value and free them at once
- 2Closures free captured memory immediately after the call
- 3Closures do not affect memory because they copy all values
- 4Closures retain references to outer variables, preventing GC
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.