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 is c++ try block?
Can you declare an array without a size in c++?
What is the importance of mutable keyword?
Explain the ISA and HASA class relationships. How would you implement each in a class design?
What is the use of volatile variable?
Why do we need templates?
What is vectorial capacity?
Is dev c++ a good compiler?
Is map ordered c++?
Can I learn c++ as my first language?
What are different types of polymorphism supported by C++
Write a C++ Program to Multiply two Numbers