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 the difference between abstract class and interface in c++?
What are compilers in c++?
What is constructor and destructor in c++?
What are guid? Why does com need guids?
What is the difference between structure and class?
what is data encapsulation in C++?
Are strings immutable in c++?
Differentiate between a template class and class template in c++?
What is the difference between a baller and a reference in C++?
What will the line of code below print out and why?
Why pointer is used in c++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
What is binary object model?
Mention the ways in which parameterized can be invoked. Give an example of each.
Is c++ a low level language?