Shallow copy

This post has been moved to Biting Code, my blog dedicated to JVM languages.
Difference between shallow copy and deep copy, the Object.clone() method, a couple of useful array management functions, System.arraycopy() and Arrays.copyOf(), deep copy of arrays, and how the fact that standard wrappers type are immutable impacts on this.

No comments:

Post a Comment