title: How can I create multiple interfaces of the same name in Java?
body: <p>I am making a series of files to teach students interfaces, and each one will have an interface called <code>Recycle</code> in it. However, when I get to the second file, Eclipse gives me an error saying <code>Recycle</code> has already been defined. Here is roughly what my code looks like:</p>
  
  <pre><code>public class Example101
  {
      //methods here
  }
  
  interface Recycle
  {
      //abstract methods here
  }
  </code></pre>
  
  <p>I'd really like to keep the interfaces in the same files as the example classes.</p>