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 do we balance an AVL Tree in C++?
What is namespace std; and what is consists of?
Are there any special rules about inlining?
Explain this pointer?
What are the three forms of cin.get() and what are their differences?
Explain deep copy and a shallow copy?
Write about a nested class and mention its use?
Explain the use of virtual destructor?
How did c++ get its name?
What is the two main roles of operating system?
What are member functions used in c++?
What are static and dynamic type checking?
What is object file? How can you access object file?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
Which field is used in c++?