title: What is Interface-based framework?
body: <p>I was going through Effective Java and reading static factory methods for creating objects. Its chapter 2, Item 1. There in the advantage no. 3, the writer has mentioned  like</p>
  
  <blockquote>
    <p>Hiding implementation classes in this fashion can lead to a very compact API. This technique lends itself to interface-based frameworks, where interfaces provide natural return types for static factory methods.</p>
  </blockquote>
  
  <p>I could not understand what the interface-based frameworks are? </p>