What is Access Restrictions
Structured containers with access restrictions only allow clients to add, remove and examine elements at certain locations in their structure. For illustration a stack only allows element addition, removal and examination at one end whereas lists allow access at any point. A container which allows client access to all its elements is known as traversable, enumerable, or iterable.