title: The use of visibility modifiers in Java
body: <pre><code>class Orange{
  
      Orange(){
      }
  
  }
  </code></pre>
  
  <p>What is the difference between the usage of the modifier - in this case, package-private - in front of the class and in front of the constructor? I think the modifier in front of the constructor means it is allowed to instantiate an instance of the class <code>Orange</code>. But what about the modifier in front of the class?</p>