[This question is more about java than C++, but thanks to this last one I began to think more deeply]
Is that possible to change the values of array using an enhanced for loop in java, as we can do in C++ using a reference variable to iterate through the array?