Computer Science - Object Oriented Programming Using C++ - Discussion


If container classes are carefully constructed, then these tools are available to work with structures that are not ______

[A]. valid without container classes
[B]. programmer-defined
[C]. type-specific
[D]. public

Answer: Option C


No answer description available for this question.

Priyanka Choudhary said: (Sep 15, 2011)  
Explain this question briefly

Siha said: (Sep 20, 2011)  
Please explain this.

Abhishekppardeshi said: (Sep 21, 2011)  
By Defination:.

Containers are objects that hold data (of same type).

For example: a vector container defines functions for inserting elements, erasing the contents and swapping the contents of two vectors.

Hence, the answer is C.

Amr said: (Jan 2, 2012)  
Can any one explain it in easy way what's the meaning of containers?

Bhn said: (Feb 29, 2012)  
A Container is an object that stores other objects.

Adhu said: (Nov 29, 2017)  
Please expalin it briefly. Please.

Harika said: (Dec 3, 2017)  
We can construct a container class, that's it.

We didn't define or mention only some specific data will be stored in that class, class is a template or independent type so we can store any type of data, so the answer is C.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.