SOLID Principals Flashcards
1
Q
S
A
Single responsibility principle
2
Q
O
A
Open/Close Principal
3
Q
L
A
Liskov substitution principle
4
Q
I
A
Interface segregation principle
5
Q
D
A
Dependency inversion principle
6
Q
Single responsibility principle
A
A class should have only a single responsibility
7
Q
Open/Close Principal
A
Software entities should be open for extension, but closed for modification.
8
Q
Liskov substitution principle
A
objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.
9
Q
Interface segregation principle
A
Many client-specific interfaces are better than one general-purpose interface.
10
Q
Dependency inversion principle
A
One should depend upon abstractions, not concretions.