concept individual ArrayList element in category java
appears as: individual ArrayList elements, individual ArrayList elements

This is an excerpt from Manning's book Java SE 11 Programmer I Certification Guide.
Now comes the tricky part. No references to the returned array, which is itself an object, are maintained by the ArrayList. But the references to the individual ArrayList elements are copied to the returned array and are still referred to by the ArrayList.

This is an excerpt from Manning's book OCA Java SE 8 Programmer I Certification Guide.
Now comes the tricky part. No references to the returned array, which is itself an object, are maintained by the ArrayList. But the references to the individual ArrayList elements are copied to the returned array and are still referred to by the ArrayList.