How to construct muliton object

Answer Posted / som shekhar

Multiton pattern is similar to singleton pattern but it
keeps the named instances in a key value pair.
In singleton pattern, the class will have only one instances
but in the multiton pattern it manages a map of named instances.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What it is and how it might be called (2 methods).

656


What are the storage qualifiers?

661


Is empty stack c++?

519


find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.

1995


What is the difference between while and do while loop?

550






What are c++ variables?

533


What is stoi in c++?

694


Write a program to concatenate two strings.

580


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

1499


Explain the volatile and mutable keywords.

614


How would you use the functions randomize() and random()?

622


Can you use the function fprintf() to display the output on the screen?

659


Explain the benefits of proper inheritance.

636


Carry out conversion of one object of user-defined type to another?

605


Why cstdlib is used in c++?

579