O'Reilly logo
  • You Wang thinks this is interesting:

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.

From

Cover of Core Java® Volume I—Fundamentals, Tenth Edition

Note

Some fields in logic shouldn't be changed.