Can we make array volatile in java?

Yes, you can make an array volatile in java but only the reference which is pointing to an array, not the whole array. What I mean, if one thread changes the reference variable to points to another array, that will provide volatile guarantee, but if multiple threads are changing individual array elements they won’t be having happens before guarantee provided by volatile modifier.