https://github.com/shaikrasheed99/factory-pattern
Implementation of Factory Pattern.
https://github.com/shaikrasheed99/factory-pattern
design-patterns factory-pattern java tdd tdd-java
Last synced: about 2 months ago
JSON representation
Implementation of Factory Pattern.
- Host: GitHub
- URL: https://github.com/shaikrasheed99/factory-pattern
- Owner: shaikrasheed99
- Created: 2022-04-22T06:48:49.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-27T14:30:08.000Z (about 3 years ago)
- Last Synced: 2025-01-13T19:39:07.981Z (4 months ago)
- Topics: design-patterns, factory-pattern, java, tdd, tdd-java
- Language: Java
- Homepage:
- Size: 163 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Factory Pattern examples using Test Driven Development
## Example (Garage):
* There is an owner who is pretty much obsessed with different kinds of vehicles, he wants to buy as many vehicles as possible to store them in his garage.
* For that, he wants to visit a nearby vehicle store to buy a brand-new kind of vehicle every time.
* He likes all kinds of vehicles, but they should be differentiated with the number of wheels they have.
* So, he wants different types of vehicles with different values of wheels.## Class Diagram:
