This project demonstrates popular Object-Oriented Design Patterns implemented in Java (JDK 17).
- Singleton Pattern
EagerSingletonLazySingleton
- Factory Pattern
EmployeeFactorywithEmployeeType(Manager, Web Developer, Android Developer)
- Abstract Factory Pattern
- Factories for different employee types (
AndroidDevFactory,WebDevFactory,ManagerFactory)
- Factories for different employee types (
- Builder Pattern
Userobject creation usingUserBuilder
- Prototype Pattern
Bookcloning usingCloneable
- Adapter Pattern
PrinterAdapteradapting legacyLegacyPrinter
- Iterator Pattern
- Custom
MyIteratorforUserManagement
- Custom
- Observer Pattern
YoutubeChannelnotifying subscribers when a new video is uploaded