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)
You must be signed in to leave a comment
This page doesn't have any comments yet