title: How do I create a constant object in Java?
body: <p>How do I create a reference to a constant object?</p>
  
  <pre><code>final Myclass obj = new Myclass();
  </code></pre>
  
  <p>does not work, it says obj(the reference) should not be re-assigned but we can still change the object referred. <br><br>I want to ensure that the object itself does not change once constructed.</p>