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
Explain static and dynamic memory allocation with an example each.
Can c++ be faster than c?
Is there any function that can skip certain number of characters present in the input stream?
What do you mean by a template?
Explain what are single and multiple inheritances in c++?
Why do we use structure in c++?
How much maximum can you allocate in a single call to malloc()?
Is there structure in c++?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
Describe public access specifiers?
What is the use of typedef?
Is c++ built on c?
What is static class data?
What is vector pair in c++?
What is abstract class in c++?