8.1. Remove a setter. Remove the setId() method. The id field should be set only when the object is created. 8.2. Hide a method (field). Change the visibility of the nextId field to match the area where it is used.
Refactoring (part 8)
You must be signed in to leave a comment
5 August 2020, 18:43