Setting up the User Model
Create The printer class
Back in main:
Create a user
Print it
User Builder:
Create the "Builders" Directory
Create the UserBuilder
Each builder method "return this;"
Build - Returns a new user
Test it:
Setting up the Address model:
Embed it into the User class
Extend the Printer class:
Use it in main:
Builder Setup:
Create the AddressBuilder
Each builder method "return this;"
Build - Returns a new address
Embed the address builder in the user builder
Extend UserBuilder:
Call address.Build() inside of user.Build()
Back in the main function:
Creating a family
Create Dad
Update the builder - To create the mom
Update the builder - To create the son
Update the builder - To create the daughter
Print them all