12. What do the SOLID principles stand for?
MediumProgramming fundamentals
TechnicalAtlassian guide
Sources & context
- Atlassian engineering interview handbook
Official engineering guidance covers data structures, code design and systems design. Related practice format; not an exact employer question.
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.