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
What are guid? Why does com need guids?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
Is c++ low level?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is #include cstdlib in c++?
Is there any difference between int [] a and int a [] in c++?
Write a Program for find and replace a character in a string.
Which is best c++ or java?
Write about an iterator class?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
Define a nested class.
What's the most powerful programming language?
What is the role of copy constructor in copying of thrown objects?
Can circle be called an ellipse?
which operator is used for performing an exponential operation a) > b) ^ c) none