No, It all depends how variable captured by lambda...
# getting-started
i
No, It all depends how variable captured by lambda is declared (immutable/mutable) val - value is copied to anonymous class (cannot change, so it's always accessible) var - value is stored in antonymous class as a reference to class that holds value (can change, so it may be null at latter time)