title: Aren't Java constructors public by default?
body: <p>I have two classes in two different packages. For one class I've defined a constructor without setting access modifier for it. I want to instantiate an object of this class in another package and get the error '<code>the constructor xxx() is not visible</code>'.</p>
  
  <p>If I define access modified to <code>public</code> it is fine. I thought constructors are public by default?</p>