What is SOLID?
SOLID is five OOP principles for maintainable software: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion. Together they push you toward small, focused, swappable, and testable components — the foundation of clean object-oriented design.