Consider an instance myBag of the class ResizableArrayBag, as discussed in Segments 2.36
Chapter 2, Problem 7(choose chapter or problem)
Consider an instance myBag of the class ResizableArrayBag, as discussed in Segments 2.36 to 2.40. Suppose that the initial capacity of myBag is 10. What is the length of the array bag after a. Adding 145 entries to myBag? b. Adding an additional 20 entries to myBag?
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer