Look into the following code:
public class ClassA { private boolean ClassAattr = false; public ClassA() { ClassAHandler handler = new Cl
This page has a very good explanation of why letting the "this" reference escape is a bad idea:
http://www.ibm.com/developerworks/java/library/j-jtp0618.html#2
Check the "Don't publish the "this" reference during construction" section