If Java would allow non-final captured variables i...
# getting-started
r
If Java would allow non-final captured variables it would have the same behavior, no matter if the captured variable was boxed or a primitive.