Object immutability in Java
<p>In my quest to make an object immutable in Java, I marked the class final, All of its variables final and provided no setters and getters. Will these provide sufficient guarantees that the object will not be modified ? Are all 3 necessary or 2 of the 3 conditions are more than enough ?</p>
