Kotlin allow changing the captured variables insid...
# getting-started
d
Kotlin allow changing the captured variables inside the lambda expression, unlike in Java (where captured variables are force to be final). So I think by default, variables are captured by reference.