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
How a new operator differs from the operator new?
What are the uses of c++ in the real world?
Difference between inline functions and macros?
Are there interfaces in c++?
Explain all the C++ concepts using examples.
What are pointers used for c++?
Can user-defined object be declared as static data member of another class?
How would you obtain segment and offset addresses from a far address of a memory location?
Is c++ a dying language?
What is an associative container in c++?
What jobs can you get with a c++ certification?
Show the declaration for a static member variable.
What is object file? How can you access object file?
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
How do you save a c++ program?