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
Can I learn c++ without c?
What does obj stand for?
Write about the members that a derived class can add?
How many different levels of pointers are there?
What is #include iostream?
what are Access specifiers in C++ class? What are the types?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
Is it possible to provide special behavior for one instance of a template but not for other instances?
What is do..while loops structure?
Is c the same as c++?
What is setf in c++?
What is the use of dot in c++?
What do you mean by early binding?
Name the operators that cannot be overloaded in C++?