Slide 1Chapter 6 The Collections API Slide 2 Simple Container/ Iterator Simple Container Shape [] v = new Shape[10]; Simple Iterator For( int i=0 ; i< v.length ; i++)…