Explain container class.
Page 1 of 1
Explain container class.
-Class to hold objects in memory or external storage. It acts as a generic holder.
- It has a predefined behaviour and a known interface.
- It is used to hide the topology used for maintaining the list of objects in memory.
The container class can be of two types:
- Heterogeneous container – Here the container class contains a group of mixed objects
- Homogeneous container - Here the container contains all the same objects.
Similar topics
» Explain container class and its types in C++.
» What is container class? Explain containers of pointer.
» What is a container class? What are the types of container classes?
» Explain class invariant.
» What is Virtual base class? Explain its uses.
» What is container class? Explain containers of pointer.
» What is a container class? What are the types of container classes?
» Explain class invariant.
» What is Virtual base class? Explain its uses.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum