Is It Immutable Class?
<p>Does this below class is immutable?</p>

<pre><code>class Immutable {

  private int x;

  Immutable(int value) {
    this.x = value;
  }

  public int getX(){
    return x;
  }
}
</code></pre>

<ol>
<li><p>Class is not final Since no member is visible to sub class</p></li>
<li><p>Instance Variable x is not final since there is no setter method.</p></li>
</ol>

<p>Is there any possiblity this class will break the contract of Immutable functionality without adding any code in this class?</p>
