A structured Java learning repository containing fundamentals, design patterns, projects, and competitive programming solutions.
"Learning Java through implementation, projects, and problem solving."
Java-Mastery-Hub is a repository created for learning and practicing Java programming concepts through hands-on coding.
This repository includes:
✅ Java Fundamentals
✅ Object Oriented Programming Concepts
✅ Design Pattern Implementations
✅ Real-world Project Development
✅ Competitive Programming Problems
Java-Mastery-Hub
│
├── Java Basics
│ ├── Arrays
│ ├── Functions
│ ├── Hello World
│ ├── Tax Calculator
│ └── Basic Java Programs
│
├── Design Pattern
│ ├── Strategy Pattern
│ ├── Observer Pattern
│ ├── Decorator Pattern
│ ├── Simple Factory Pattern
│ ├── Factory Method Pattern
│ ├── Abstract Factory Pattern
│ ├── Singleton Pattern
│ ├── Command Pattern
│ ├── Adapter Pattern
│ ├── Facade Pattern
│ ├── Template Method Pattern
│ ├── Iterator Pattern
│ ├── Composite Pattern
│ ├── State Pattern
│ ├── Proxy Pattern
│ └── Compound Pattern
│
├── Design Pattern Project
│ └── Shopping Management System
│
└── Competitive Problems
├── Linked List Problems
├── Matrix Problems
├── Merge Linked List
├── Missing Number Problems
└── Water Trapping Problems| Topic | Status |
|---|---|
| Java Basics | ✅ |
| Arrays | ✅ |
| Functions | ✅ |
| OOP Concepts | ✅ |
| Problem Solving | ✅ |
| Creational | Structural | Behavioral |
|---|---|---|
| Simple Factory | Adapter | Strategy |
| Factory Method | Facade | Observer |
| Abstract Factory | Decorator | Command |
| Singleton | Composite | Template Method |
| Proxy | Iterator | |
| State | ||
| Compound |
To design and implement a Shopping Management System using multiple design patterns to demonstrate modular, scalable, and maintainable software architecture.
Used for creating product categories dynamically.
Products:
-
Clothing
- Men
- Women
- Kids
-
Furniture
- Wooden
- Plastic
- Glass
-
Mobile
- Apple
- Samsung
- Oppo
Used for interchangeable payment methods.
Payment options:
- Credit Card Payment
- UPI Payment
Used for handling order operations.
Commands:
- Place Order
- Cancel Order
Used for notifications.
Observers:
- User Observer
- Admin Observer
Problems currently included:
✔ Linked List Problems
✔ Matrix Problems
✔ Missing Number Problems
✔ Water Trapping Problems
✔ Merge Linked List Problems
More problem-solving questions will be added continuously.
- Java
- Object-Oriented Programming
- Design Patterns
- DSA
- VS Code
Java Basics ██████████ 100%
Design Patterns █████████░ 90%
Projects ████████░░ 80%
Competitive Coding ███████░░░ 70%
Suggestions and improvements are always welcome.
If you find something useful:
⭐ Star the repository
🍴 Fork the repository
📝 Create Pull Requests