What is a container class? What are the types of container classes?
Answer Posted / 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 |
Post New Answer View All Answers
What is format for defining a structure?
What are the extraction and insertion operators in c++? Explain with examples.
What is lambda in c++?
How is modularity introduced in C++?
what are Access specifiers in C++ class? What are the types?
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?
Is it possible to use a new for the reallocation of pointers ?
What are the types of container classes?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
how to connect with oracle 9i with server in socket program in c/c++
Difference between an inspector and a mutator
Is recursion allowed in inline functions?
What are the general quetions are in DEna bank manager IT/System interviews?
What are guid?
What are the advantage of using register variables?