title: Java tutorial says I can have a package-private interface, but I can't
body: <p>In the <a href="http://download.oracle.com/javase/tutorial/java/IandI/interfaceDef.html">Java tutorial "Defining an Interface"</a>, it says </p>
  
  <blockquote>
    <p>If you do not specify that the interface is <code>public</code>, your interface will be accessible only to classes defined in the same package as the interface.</p>
  </blockquote>
  
  <p>However, this </p>
  
  <pre><code>interface PPInterface {
      void foo();
      void bar();
  }
  
  class NewClass implements PPInterface {
      void foo() {}
      void bar() {}
  }
  </code></pre>
  
  <p>generates compiler errors in <code>NewClass</code> because I am 'attempting to assign weaker access privileges; was public'.  So the documentation is wrong, or I did something wrong, or I misinterpreted the documentation?</p>
  
  <p>I suppose I don't have to use an interface-- I like it because it keeps things nicely organized.</p>