3 / 187
What is a container class?
Container class is a class that hold group of same or mixed objects in memory. It can be heterogeneous and homogeneous. Heterogeneous container class can hold mixed objects in memory whereas when it is holding same objects, it is called as homogeneous container class.
Asked In ::
Amit
23 Feb, 2019 5:07 AM
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 behaviour and a well-known interface.
Ravi
23 Feb, 2019 5:07 AM
can someone explain container class with example
CHILUKURI SANDEEP
23 Feb, 2019 5:07 AM
Container class is a class that hold group of same or mixed objects in memory. It can be heterogeneous and homogeneous. Heterogeneous container class can hold mixed objects in memory whereas when it is holding same objects, it is called as homogeneous container class.