Page 1 of 1

About Question enthuware.ocpjp.v7.2.1730 :

Posted: Fri Jan 06, 2017 4:52 am
by jagoneye
This question gives you an important to note:
Use volatile variables to perform simple operations to ensure multiple threads see the updated values. For example perform simple assignment operations such as
boolean b; int c;
multithreaded code{
b = false;
c = 5;
}
:)