Pointer deferencing and manipulating objects which are being pointed to - equivalent constructs in Java
<p>Hello<br>
In C++ you can do the following:</p>

<pre><code>int x = 5

cout &lt;&lt; x;
// prints 5

int* px = &amp;x;

(*px)++;
cout &lt;&lt;x;
// prints 6
</code></pre>

<p>Is there an equivalent construct in Java</p>
