SOFTWARE ENGINEERING

SOFTWARE DESIGN

DESIGN PATTERNS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which text below describes the Abstract Factory Pattern best?
A
It changes the interface of one or more classes.
B
It encapsulates interchangeable behaviours and uses delegation to decide which one to use.
C
It simplifies the interface of a group of classes.
D
It provides a way to traverse a collection of objects without exposing the collection’s implementation.
E
It provides an interface for creating families of related or dependent objects without specifying their concrete classes.
Explanation: 

Detailed explanation-1: -Abstract Factory is a creational design pattern that lets you produce families of related objects without specifying their concrete classes.

Detailed explanation-2: -The purpose of the Abstract Factory is to provide an interface for creating families of related objects, without specifying concrete classes. This pattern is found in the sheet metal stamping equipment used in the manufacture of Japanese automobiles.

There is 1 question to complete.