viewed as extending the end of the underlying array to make room for more elements (see figure intuitivelythis strategy is much like that of the hermit crabwhich moves into larger shell when it outgrows its previous one figure an illustration of the three steps for "growingan extendable array(acreate new array (bcopy elements from to (creassign reference to the new array not shown is the future garbage collection of the old array implementing the indexlist interface with an extendable array we give portions of java implementation of the array list adt using an extendable array in code fragment this class only provides means for the array to grow exercise - explores an implementation that can also shrink code fragment portions of class arrayindexlist realizing the array list adt by means of an extendable array method checkindex(rn(not shownchecks whether an index is in the range [