Skip to interview prep
Apexed

12. What do the SOLID principles stand for?

MediumProgramming fundamentals

TechnicalAtlassian guide
Sources & context
Show model answer

Single responsibility (one reason to change), Open/closed (extend without modifying), Liskov substitution (subtypes must be usable wherever the base type is), Interface segregation (small, focused interfaces), and Dependency inversion (depend on abstractions, not concrete classes).

Give one concrete example, such as injecting a payment interface so a checkout class can be tested with a fake.

What do the SOLID principles stand for — Software engineering interview question — Apexed