I created a ArrayList(objetoQueCriei)
, and I would like during program execution to change the value of the attributes of those objects in the array. Do you have any commands to do this?
I tried to use the set
command, but would have to replace the object of that index, not replace a value of an attribute of the object.