• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Design Patterns by
Q:

 Which of the following describes the Builder pattern correctly?

A - This pattern builds a complex object using simple objects and using a step by step approach.

B - This pattern refers to creating duplicate object while keeping performance in mind.

C - This pattern is used when creation of object directly is costly.

D -This pattern is used when we need to decouple an abstraction from its implementation so that the two can vary independently.

1 Answer

0 votes
by

Answer : A

Explanation

Builder pattern builds a complex object using simple objects and using a step by step approach. This builder is independent of other objects

Related questions

0 votes
asked Oct 16, 2019 in Design Patterns by DavidAnderson
0 votes
asked Oct 16, 2019 in Design Patterns by DavidAnderson
...