How to get the instance of class
<p>I have made three classes classA, classB and classC in the same package. Now I make three objects of classA inside classB and two objects of classA inside classC. Now how can i get following things inside classA.</p>

<p>1) How many objects of classA has been used by classB and classC ?
2) How can i get the name &amp; reference of the objects of classA which are in classB and classC?</p>
