title: Get object name in Java
body: <p>How can I get an object name? For example</p>
  
  <pre class="lang-java prettyprint-override"><code>Objet o = new Object();
  </code></pre>
  
  <p>I want to get this "o" and print it.</p>