Understand the code in the user package.
13.1. Extract a method. Add a printInfo() method that displays the first and last name
on the console, formatted as follows -
First name: Jason;
Last name: Slater.
Replace the duplicate code in printUsers() with a method call.
Refactoring (part 13)
- 28
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet