3. java.util
Class Enumeration provides a way to access the elements of structure sequentially without exposing its underlying representation or its traversal strategy (iterator). It provides two methods :
- hasMoreElements()
- nextElement()
Class Observable and interface Observer provide partial implementation for the Observer design pattern :
deleteObserver(Observer o)
update(Observable o,Object o)