Refactoring (part 14)

  • 14
  • Locked
14.1. Move a field. Replace the isAnnaMale and isRomanMale fields with a male field in the appropriate class. Add a setter and getter for the new field (when choosing method names, consider the field type). 14.2. Extract a class. 14.2.1. Add an Address class to the user package.
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
27 July 2021, 07:18
Maybe that's how real programs work, but it's a little overwhelming to change fields and move methods over and over again.