Java / Arrays
Is it possible to make an array volatile?
Yes, we can make an array volatile in Java. But we only make the variable that is pointing to array volatile. If an array is changed by replacing individual elements that happen before the guarantee provided by volatile variables will not hold.
More Related questions...