Login
Remember
Register
MCQ Village Q&A
Questions
Unanswered
Categories
Ask a Question
Ask a Question
Match the Single responsibility, Open-closed, Liskov substitution Interface segregation, and
0
votes
91
views
asked
Oct 31, 2023
in
General
by
Admin
(
0
points)
closed
Oct 31, 2023
by
Admin
Match the Single responsibility, Open-closed, Liskov substitution Interface segregation, and Dependency inversion or SOLID principles of object-oriented design to their descriptions
closed
solid
grasp
Please
log in
or
register
to add a comment.
1
Answer
0
votes
answered
Oct 31, 2023
by
Admin
(
0
points)
Best answer
Functions that use references to base classes should also be able to use child classes - Liskov Substitution
Clients shouldn't be forced to depend on interfaces that they don't use- interface segregation principal
A class should only have one reason to change - single responsibility principal
Classes may be extended but not modified - open closed principal
High-level modules shouldn't depend on low-level modules - dependacy inversion principal
Please
log in
or
register
to add a comment.
Related questions
0
votes
1
answer
97
views
Which of the following statements describe the Single Responsibility
asked
Oct 31, 2023
in
General
by
Admin
(
0
points)
solid
grasp
0
votes
1
answer
151
views
The General Responsibility Assignment Software Patterns or GRASP
asked
Oct 31, 2023
in
General
by
Admin
(
0
points)
grasp
solid
0
votes
1
answer
98
views
According to the Creator principle of the GRASP approach to object-oriented design, the class that's responsible
asked
Oct 31, 2023
in
General
by
Admin
(
0
points)
grasp
solid
0
votes
1
answer
109
views
Which of the following statements describe the Dependency Inversion Principle of the
asked
Oct 31, 2023
in
General
by
Admin
(
0
points)
grasp
solid
0
votes
1
answer
65
views
High-level modules shouldn't depend on low-level modules
asked
Oct 31, 2023
in
General
by
Admin
(
0
points)
grasp
solid
2.8k
questions
2.8k
answers
0
comments
76
users
Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...