What is a container class? What are the types of container classes?
Answer / subham chaudhary
A container class is a class that is used to hold objects in memory or external storage. A container class acts as a generic holder. A container class has a predefined behavior and a well-known interface. A container class is a supporting class whose purpose is to hide the topology used for maintaining the list of objects in memory. When a container class contains a group of mixed objects, the container is called a heterogeneous container; when the container is holding a group of objects that are all the same, the container is called a homogeneous container.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are advantages of C++ when comparing with C?
18 Answers HP, iGate, TCS,
How did c++ get its name?
Can you use the function fprintf() to display the output on the screen?
Explain the virtual inheritance in c++.
What is a character in c++?
What is new in c++?
What is atoi?
Why should you learn c++?
How many types of classes are there in c++?
Where is atoi defined?
Why would you make a destructor virtual?
Explain abstraction.