問題文
A lambda body declares a parameter whose name matches a local variable of the enclosing method. Why is that file turned away?
選択肢
- It is turned away because a lambda body keeps a copy of values seen at build time so its declarations are read just as they would be outside of it.
- It is turned away because a lambda body draws names from types it stands in for so its declarations are read just as they would be outside of it.
- It is turned away because a lambda body runs later than a surrounding block finishes so its declarations are read just as they would be outside of it.
- It is turned away because a lambda body shares a single naming layer with code that holds it so its declarations are read just as they would be outside of it.