Solved

In the ArrayBag Class, Why Must the ArrayBag Object Track

Question 31

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions