Introduction to OOP | Chapter 19: Container Classes : | next | previous | audio | real | text |
Contains simply hold values in variables (which can hold anything), and when they are removed from the container they can be assigned to any variable.
Dynamically typed languages have historically come with a rich set of container classes in their standard library.