SOFTWARE ENGINEERING

SOFTWARE DESIGN

DESIGN PATTERNS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
With Builder pattern implementation you can isolate complex construction code from the business logic of the product. Which of SOLID principles do you follow?
A
Single Responsibility
B
Dependency Inversion
C
Interface Segregation
D
Open/Closed
Explanation: 

Detailed explanation-1: -Definition. The intent of the Builder design pattern is to separate the construction of a complex object from its representation. By doing so, the same construction process can create different representations.

Detailed explanation-2: -The Single Responsibility Principle (SRP) The idea behind the SRP is that every class, module, or function in a program should have one responsibility/purpose in a program. As a commonly used definition, “every class should have only one reason to change".

Detailed explanation-3: -The Interface Segregation Principle and Other Solid Principles. The SOLID principles are closely related to one another. The ISP is particularly closely associated with the Liskov Substitution Principle (LSP) and the Single Responsibility Principle (SRP).

There is 1 question to complete.