You can define an instance field as
final. Such a field must be initialized when the object is constructed. That is, you must guarantee that the field value has been set after the end of every constructor. Afterwards, the field may not be modified again.
Use final to make a field immutable.
Share this highlighthttp://www.safaribooksonline.com/a/core-java-volume/15364203/