Posts by Alisson M. Vargas • 1 point
1 post
-
0
votes2
answers154
viewsA: Change variable value within anonymous class
As they said before, you can’t change the value of a variable within the thread and then test it right away. Probably your test (if, println, or whatever) will be called before the thread is…