Creational Patterns Flashcards

1
Q

AF

A

Abstract Factory

Creates an instance of several families of classes

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

B

A

Builder Pattern

Separates object construction from its representation

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

FM

A

Factory Method

Creates an instance of several derived classes

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

OP

A

Object Pool

Avoid expensive acquisition and release of resources by recycling objects that are no longer in use

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

P

A

Prototype

A fully initialized instance to be copied or cloned

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

S

A
Singleton
A class of which only a single instance can exist
How well did you know this?
1
Not at all
2
3
4
5
Perfectly