Skip to content

COREayan/java-SOLID-principle-learning

Repository files navigation

Java SOLID Principle Learning 🚀

This repository demonstrates all 5 SOLID principles in Java with clean, easy-to-understand examples. These principles are the foundation of maintainable and scalable object-oriented design.

✅ Ideal for Java developers preparing for interviews or learning design patterns.


📚 What Are SOLID Principles?

SOLID is an acronym representing 5 principles of object-oriented programming and design:

Principle Meaning
S - Single Responsibility Principle A class should have only one reason to change
O - Open/Closed Principle Software entities should be open for extension but closed for modification
L - Liskov Substitution Principle Subtypes must be substitutable for their base types
I - Interface Segregation Principle No client should be forced to depend on unused methods
D - Dependency Inversion Principle Depend on abstractions, not concretions

🛠️ Technologies Used

  • Java 17
  • Maven
  • IntelliJ IDEA / VS Code
  • JUnit (optional for testing)

📖 Recommended Reading

Here are some excellent articles to deepen your understanding of the SOLID principles:

  1. Baeldung – SOLID Principles in Java
  2. Uncle Bob – Principles of Object-Oriented Design (Archived)
  3. DigitalOcean – SOLID: The First Five Principles of OOP
  4. Medium – SOLID Principles in Pictures
  5. freeCodeCamp – SOLID Principles Explained in Plain English
  6. JRebel – SOLID Principles in Java
  7. Medium – Mastering SOLID Principles (In-Depth Guide)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages