update an object in array of class object java code example Example: update object property in array java myList.get(3).setEmail("new email");