you can't do that in Java but Kotlin will auto-box...
# announcements
m
you can't do that in Java but Kotlin will auto-box the stack variable onto the heap so the lambda can access it