You decide to use recursion in your implementation. Consider method getIndexOf. You use a variablesearchIndex to work your way through the array. What would be the two base cases?

What will be an ideal response?

items[searchIndex] is the entry you seek or searchIndex equals itemCount

Computer Science & Information Technology

You might also like to view...

Which of the following solutions is easier to construct for the Tower of Hanoi problem?

A. Recursive B. Iterative C. Procedural D. Step-by-step

Computer Science & Information Technology

________________ user data folders to a network share speeds user logons and logoffs.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology