Computer Science, asked by rkprasanth73, 1 month ago

People if need to change the appearance change the hair style, clothes and apparels but may the person itself. Which SOLID principle does the above quote satisfy?

Select one:

a. Single responsibility

b. Dependency Inversion Principle

c. Open Closed Principle

d. Interface segregation

Answers

Answered by narismluinarismlu
26

Answer:

I am thinking b I hope it help for you

Answered by qwcricket10
1

Option(a) Single responsibility is the SOLID principle.

  • The set of principles used for the software development that are object-oriented base.
  • The term SOLID is a short term that represents the main five principles, the Single responsibility principle, the Open-closed principle, the Liskov substitution principle, the Interface segregation principle, and the Dependency inversion principle.
  • Each class should perform one purpose only is described in the single responsibility.
  • Extension can be added in the open-close principle but no chance for the modification.
  • The principle that allows objects in the parent class replace with subclass is the Liskov principle.

#SPJ3

Similar questions
Math, 9 months ago