In programming, what does "enumerate objects in a container" generally involve?
A) Sorting the objects in the container by their size
B) Iterating over each object in the container to perform an operation
C) Encrypting the objects within the container for security
D) Merging the container with another container