How to pass Object from java class to another java class
<p>I am created an object of a class in one java class as:</p>

<p><code>ABC ab = new ABC();</code></p>

<p>I want to access this <code>Object ab</code> in <code>class XYZ</code>. How to make this Object available in class XYZ? How is this do-able?</p>
