Factory Method Flashcards

1
Q

Provides hooks for subclasses

A

Consequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Connects parallel class hierarchies

A

Consequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Naming Convetions

A

Implementation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Parameterized Factory Methods

A

Implementation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Intent/Purpose

A

Defines an interface but lets subclasses decide what to return/create in that interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly