Refactoring (part 8)

  • 7
  • Locked
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.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Henrique
Level 41 , São Paulo, Brazil
5 August 2020, 18:43
help pls