In this tutorial on "Effective Java", I discuss the benefit of nulling out obsolete object references in classes that manage their own resources. This mainly relates to the data structures such as stack or arraylist.
コメント