Let's return to the Command pattern.
1. Create a command package. It will contain all classes with relevant logic.
Think about the access modifier for each class in this package.
2. Create a Command interface with a void execute() method.
CashMachine (part 7)
- 20
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet