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 are the advantages of using const reference arguments in a function?

819


Define a constructor - what it is and how it might be called (2 methods)?

796


How can you tell what shell you are running on unix system?

846


How can you create a virtual copy constructor?

779


Difference between pointer to constant vs. Pointer constant

798






What is c++ best used for?

760


Explain function overloading and operator overloading.

803


What is a class template in c++?

756


Why is main function important?

805


What is void pointer in c++ with example?

778


What happens if a pointer is deleted twice?

1002


What is c++ and its features?

751


How do you invoke a base member function from a derived class in which you have not overridden that function?

820


what is data abstraction in C++?

821


Is multimap sorted c++?

738