Object reference variable
<pre><code>String myString="Plz_help";
</code></pre>

<p>i came to know that 'myString' is not an object but a object reference variable which stores the base address of the actual object.So 'myString' should return an address when i execute      </p>

<pre><code>System.out.println(myString);
</code></pre>

<p>but it is returning 'Plz_help' to the output.</p>

<pre><code>Myclass obj_ref_var=new Myclass();
</code></pre>

<p>When i use the same System.out.println(obj_ref_var) for other class which i had created ,it is returning the address.</p>

<p>plz help.im pretty new to java. </p>
