Question: The underlying data structure for the NetvidsDatabase class was an array. What is a limitation of using an array concerning capacity? Group of answer choices
The underlying data structure for the NetvidsDatabase class was an array. What is a limitation of using an array concerning capacity?
Group of answer choices
The first element is indexed by and not
An array has a fixed length, so if you add more than the the declared amount of movies to the structure, the array needs to be expanded and to do that, a new array needs to be created.
When you remove an item you have to shift all the other items over it
You can access each element by it index.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
