4- The Iterable Interface

5:24 2 స్పీకర్లు 2 (i) అంశపులు 125 విభాగములు

స్పీకర్లు

(i) అంశపులు

  1. 0:03

    The iterable interface represents an object that is iterable. That means we can iterate or loop over it without knowing anything about its implementation detail. So we are using an array here. If we decide to replace this with an array list…

  2. 5:06

    Now if tomorrow we decide to replace this array with let's say an array list, our for each loop is not going to get affected. Now our implementation is not complete. We still have to implement the iterator method and that's what we're going…