Multiple ChoiceIntermediate 45s
Prototype pattern: cloning intent
What is the primary intent of the Prototype pattern?
Options
- 1To ensure a class has only one instance with a global point of access to it
- 2To create new objects by cloning existing instances instead of calling constructors
- 3To wrap an object with additional responsibilities that can be added dynamically
- 4To define a family of algorithms and make them interchangeable to the client
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.