in Design Patterns by
Q:

 Which of the following describes the Composite pattern correctly?

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

B - This pattern is used where we need to treat a group of objects in similar way as a single object.

C - This pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.

D - This pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance.

► Click here to show 1 Answer

0 votes
by

Answer : B

Explanation

Composite pattern is used where we need to treat a group of objects in similar way as a single object.

Loan/Mortgage
Learn More with Madanswer

Related questions

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