What is a container class? What are the types of container classes?
Page 1 of 1
What is a container class? What are the types of container classes?
Answer:
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.
Database interview questions
Click here More information available
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.
Database interview questions
Click here More information available
Similar topics
» What is an adaptor class or Wrapper class?
» Differentiate between a template class and class template.
» What is class invariant?
» What is a protocol class?
» What is a mixin class?
» Differentiate between a template class and class template.
» What is class invariant?
» What is a protocol class?
» What is a mixin class?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum