Multiple Choice
In the ArrayBag class, why must the ArrayBag object track its logical size in a separate instance variable?
A) because the physical size is always smaller than the logical size
B) because the initial size of the object can't be changed
C) because the logical size will likely differ from the array's capacity
D) because the array size and the logical size are identical
Correct Answer:

Verified
Correct Answer:
Verified
Q26: Software bags can grow as more items
Q27: Once the designer of a collection class
Q28: The running times of the operations of
Q29: Why won't some of the ArrayBag methods
Q30: When used with a bag object, the
Q32: The _iter_ method is identical in the
Q33: Which of the following is a visual
Q34: The statement in the ArrayBag constructor to
Q35: What word is best defined as the
Q36: In the ArrayBag class, what function does