title: Examples of Design Patterns used in JDK
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1673841/examples-of-gof-design-patterns">Examples of GoF Design Patterns </a>  </p>
  </blockquote>
  
  
  
  <p>At an interview a while back I was asked for some examples of Design Patterns within the JDK.</p>
  
  <p>Off the top of my head I was able to identify</p>
  
  <p>Flyweight - as used in the String pool
  Singleton - in java.lang.Runtime
  Iterator - as used on Collections classes</p>
  
  <p>Not that many.</p>
  
  <p>What are the other good examples of Design Patterns as used in the JDK?</p>