How to construct muliton object
Answers were Sorted based on User's Feedback
Answer / 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 |
Can recursive program be written in C++?
program in c++ to input digits and print in words
write a c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement
If you don’t declare a return value, what type of return value is assumed?
What does floor mean in c++?
Write any small program that will compile in "C" but not in "C++"
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
What does I ++ mean in c++?
Why do we need c++?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
What is lazy initialization in c++?
Explain what is oop?