Look into the following code:
public class ClassA { private boolean ClassAattr = false; public ClassA() { ClassAHandler handler = new Cl
You may make ClassAHandler an inner class of ClassA. It would have access to the members of ClassA.