Container (abstract data type)
Software class or data structure whose instances are collections of other objects / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Container (abstract data type)?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
"Container (computer science)" redirects here. For the abstract notion of containers in type theory, see Container (type theory). For other uses, see Container (disambiguation).
In computer science, a container is a class or a data structure[1][2] whose instances are collections of other objects. In other words, they store objects in an organized way that follows specific access rules.
This article may require cleanup to meet Wikipedia's quality standards. The specific problem is: text is clunky. (March 2012) |
The size of the container depends on the number of objects (elements) it contains. Underlying (inherited) implementations of various container types may vary in size, complexity and type of language, but in many cases they provide flexibility in choosing the right implementation for any given scenario.
Container data structures are commonly used in many types of programming languages.