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
Why is main function important?
Do you know what are pure virtual functions?
What is c++ hash?
Explain the difference between new() and malloc() in c++?
What is ifstream c++?
What is wrapper class in c++?
How many ways can a variable be initialized into in C++?
what are Access specifiers in C++ class? What are the types?
How do you invoke a base member function from a derived class in which you’ve overridden that function?
Can we sort map in c++?
Is c++ pass by reference or value?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
What is static in c++?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
Why use of template is better than a base class?