Question: I need help with this questions: Question 1 Why would we set the DEFAULT_CAPACITY of ArrayBag to a low number during the testing phase? So


Question 1 Why would we set the DEFAULT_CAPACITY of ArrayBag to a low number during the testing phase? So the array doesn't run out of space So we can test our design to handle a full bag situation Because dynamic arrays allow us to grow it at any time Because arrays are inefficient and use too much memory Question 2 10 tea Question 11 ArrayBag's method toVector must loop through all elements in the array. True False Question 12 Specifications indicate how to implement ADT operations, but not what the operations do True False D Question 13 - 1 pts Generally it is unwise to define an entire class then attempt to test it True False Question 14 1 pts C++ arrays are data structures True False Question 15 1 pts The method petindexOf should generally be declared as private. False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
