This project demostrate the one of way ti implement Factory pattern without violating Open-Close principle (SOLID)
Start
folder contains the conventional way of using the Factory method which break OPEN CLOSE principle in SOLIDFinal
folder contains the Factory method which not breaking OPEN CLOSE principle in SOLID