https://github.com/julianamancera/factorypattern_example
Software Engineering 1 - Factory Pattern
https://github.com/julianamancera/factorypattern_example
factory-pattern software-engineering
Last synced: 2 months ago
JSON representation
Software Engineering 1 - Factory Pattern
- Host: GitHub
- URL: https://github.com/julianamancera/factorypattern_example
- Owner: JulianaMancera
- Created: 2024-08-20T00:24:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-24T12:59:32.000Z (almost 2 years ago)
- Last Synced: 2025-03-04T07:17:36.102Z (over 1 year ago)
- Topics: factory-pattern, software-engineering
- Language: Java
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Example Problem
Implement factory design pattern using Pet as the factory interface. The interface implements two methods: makeSound() and play().
- Dog and Cat are concrete objects that implements Pet interface.
- PetRecord holds attributes such as petId, petName, and Pet.
- Clinic would be the client object.
- Refer to the UML Class Diagram
## Class Diagram
