Put in order · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture
Factory Pattern Implementation
Arrange the steps of Factory pattern implementation in the correct order:
Items to put in order
- Use the factory in client code
- Define the product interface
- Implement the factory method that creates objects
- Create concrete classes implementing the interface
You can check the correct answer by solving this task in the CodeWorlds game.