You may need to get and set an employee’s salary. You certainly won’t need to change the hiring date once the object is constructed. And, quite often, objects have instance fields that you don’t want others to get or set, such as an array of state abbreviations in an
Some fields in logic shouldn't be changed.
Share this highlighthttp://www.safaribooksonline.com/a/core-java-volume/15364190/